พฤษภาคม 2024
จ. อ. พ. พฤ. ศ. ส. อา.
« มี.ค.    
 12345
6789101112
13141516171819
20212223242526
2728293031  
พฤษภาคม 2024
จ. อ. พ. พฤ. ศ. ส. อา.
« มี.ค.    
 12345
6789101112
13141516171819
20212223242526
2728293031  

คนไข้มารับบริการ แต่ไม่มีการลงทะเบียน บัญชี 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’)

ปิดการแสดงความเห็น