ต้องการหา ovst.hn ที่มารับบริการในช่วงเวลาที่กำหนด แต่ไม่มีใน person.patient_hn แก้ไขคำสั่งให้หน่อยครับ select o.hn,p.patient_hn from ovst o left outer join person p on p.patient_hn<>o.hn where o.vstdate between "2012-10-01" and "2012-10-01" group by o.hn