เสียชีวิตใน คลินิคพิเศษ แต่หน้าบัญชี 1 ยังไม่ลงวันเสียชีวิต
select p.cid,p.patient_hn,concat(p.pname,p.fname,’ ‘,p.lname)as name,p.death,p.death_date,
c.clinic_member_status_id,clinic_member_status_name
from clinicmember c
left join person p on p.patient_hn=c.hn
left join clinic_member_status s on s.clinic_member_status_id=c.clinic_member_status_id
where c.clinic_member_status_id=’2′ and p.death=’N’
group by p.cid
vdo FLV
http://113.53.235.35/owncloud/public.php?service=files&t=022679995dbc2b7a5adb1066b122bb6f
pass: 12
+++++++++++++++++++++++++++++++++++++++++++
https://122.155.162.30/r5cloud/owncloud/public.php?service=files&t=cb7a87280fdd7242590387c8d5edef54&path=/43Files
ownclound hosxp
ความเห็นล่าสุด