ผู้เขียน หัวข้อ: FORM-Appointment  (อ่าน 3094 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ naj

  • Hero Member
  • *****
  • กระทู้: 2,449
  • Respect: +9
    • ดูรายละเอียด
    • http://www.luangphopern-hospital.com
FORM-Appointment
« เมื่อ: กุมภาพันธ์ 08, 2007, 03:10:02 AM »
0
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"
Yindee And Tan