BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: naj ที่ กุมภาพันธ์ 08, 2007, 03:10:02 AM
-
FORM-Appointment
ตัวอย่างคำสั่ง
select o.*,concat(p.pname,p.fname," ",p.lname) as ptname,d.name as doctor_name from
oapp o
left outer join patient p on p.hn=o.hn
left outer join doctor d on d.code=o.doctor
where
o.oapp_id="1"