codice:
select 
sum(value=11) as quanti,(select if(sum(value=11 and user = 'aaa'),'si','no') 
from tabella) as presente
from tabella