Question : Any for columns??

I want to return a 'Y' if they failed any test.  ?? represents any test. The issue i am having is if they fail more than one test. Hoping to resolve that with any.

select emplid, 'Y'  as result from emps where any(??) =''fail' group by emplid

emps database
emplid  Math   english    ss
123       fail       fail         pass
234       pass    pass     fail
345     fail          fail        fail
     

Answer : Any for columns??

Here you go. Vba code is behind the Sheet1.
Random Solutions  
 
programming4us programming4us