สิงหาคม 2013
จ. อ. พ. พฤ. ศ. ส. อา.
« ก.ค.   ก.ย. »
 1234
567891011
12131415161718
19202122232425
262728293031  
สิงหาคม 2013
จ. อ. พ. พฤ. ศ. ส. อา.
« ก.ค.   ก.ย. »
 1234
567891011
12131415161718
19202122232425
262728293031  

คลังเก็บรายวัน: สิงหาคม 6, 2013

รายงาน EGFR น้อยไปหามาก แค่ชื่อและผู้ที่มีรายการ

select o.hn,v.cid,p.pname,p.fname,p.lname,p.birthday,concat(v.age_y,’.’,v.age_m)as age,v.vstdate,o.egfr

from opdscreen o
left join vn_stat v on v.hn=o.hn
left join patient p on p.hn=v.hn
where o.egfr is not null and o.hn in (‘ xxxx’,’xxxx’)
group by o.hn