select drive_date,division_cd,
site_code,site_name,
projection,min_projection,
max_projection,actual_mobile_hrs
from hid_tab
I need help in a case statement for getting bed_nos. My requirements have changed.
If high_school_drive = 'Y' then
if projection between min_projection and max_projection then
I want to get no_of_beds
end if;
elsif high_school_drive = 'N' then
if projection between min_projection and max_projection then
I want to get no_of_beds
end if;
end if; hid-case.txt