u have to implement what 3587 has said
u can try out this query
(select 'yes' as empid,name from employee where something is not null)union(select 'NO' as empid,name from employee where something is null)
hope this helps u
good luck
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.