2016-11-15 1 views

Répondre

3

Vous pouvez utiliser une clause having.

select app_id 
from tablename 
group by app_id 
having count(distinct person_id)=count(distinct case when act_id='true' then person_id end) 
+0

Merci beaucoup. – Murali