ถ้าเป็นแบบนี้พอได้มั้ยครับ
select count(distinct(cm.hn) )as cc
from clinicmember cm
left outer join vn_stat v on v.hn=cm.hn
where (cm.hn in (select hn from clinicmember where clinic="001"))
and (cm.hn in (select hn from clinicmember where clinic="002"))
and v.vstdate between "2011-01-01" and "2011-01-05"