Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Simple SQL Query Question
select count((case when
(nvl(emission_freq, 0) != 0 and nvl(reception_freq, 0) != 0)
then 1 else null end)) * 2 +
count((case when (nvl(emission_freq, 0) != 0 and nvl(reception_freq, 0) != 0)
then null else 1 end)) * 1 as "total"from am39
<FONT face=Courier color=#0000ff
size=2>where station = 'xxxx';
<SPAN
class=248073507-02072001>rgds
<SPAN
class=248073507-02072001>amar
<FONT face="Times New Roman"
size=2>-----Original Message-----From: ALEMU Abiy
[mailto:abiy.alemu_at_criltechnology.com]Sent: Monday, July 02, 2001
11:30 AMTo: Multiple recipients of list ORACLE-LSubject:
Simple SQL Query Question
I've a table with
the following structure and sample data :
<SPAN
class=270522206-02072001>
<SPAN
class=270522206-02072001>Station
Emission_Freq
Reception_Freq
<SPAN
class=270522206-02072001>-------- ----------------- ------------------
192.5
193.5
size=2>------------------------------------------------------------------------------------@biy @lemu
![]() |
![]() |