select l1.*, p.pname,p.fname,p.lname
from lab_head l1
left outer join patient p on p.hn = l1.hn
where l1.hn in (select hn from clinicmember where clinic = '001') and l1.form_name = 'Complete Lab' and l1.order_date between 'yyyy-mm-dd' and 'yyyy-mm-dd'