คนไข้มารับบริการ แต่ไม่มีการลงทะเบียน บัญชี 1
select p.last_visit,p2.cid,p.*
from patient p
left join person p2 on p2.cid=p.cid
where (p2.cid is null and p.last_visit is not null) and (p.last_visit between ‘2015-01-01’ and ‘2015-01-18’)
select p.last_visit,p2.cid,p.*
from patient p
left join person p2 on p2.cid=p.cid
where (p2.cid is null and p.last_visit is not null) and (p.last_visit between ‘2015-01-01’ and ‘2015-01-18’)
ความเห็นล่าสุด