select a.BillNO,a.BillDate,a.GusetNo,a.Amount,a.CheckPerson,b.GuestName,b.Telfrom G_Guest as a left join P_OutM as b on a.GuestNo=b.GuestNo
SELEC *FROM P_OutM LEFT JOIN G_Guest ON P_OutM.GuestNo=G_Guest .GuestNo