I have an SQL statement that has a CASE from SELECT and I just can't get it right.
Select xxx, yyy
case : desc case when bbb then 'blackberry';
when sss then 'samsung';
end
from (select ???? .....
where the results show
name age handphone
xxx1 yyy1 blackberry
xxx2 yyy2 blackberry