axism
MIS
- May 17, 2005
- 58
I understand that you can't use IIF within select statement. I am trying to use Case Statement. Here's scenarior, if test > 50 pass, else fail. Studends can have scores from 1 to 100. I tried the following, which is not working. I am hoping to see if anyone can help me fix it.
select
case grade
when test > 50 then
pass
else
fail
end
from tblexams
select
case grade
when test > 50 then
pass
else
fail
end
from tblexams