SELECT hp_patient.name, hp_ptorders.DrugName, hp_ptorders.Dosage,hp_ptorders.DosageUnit
FROM hp_patient
LEFT JOIN hp_ptorders
ON hp_patient.pid=hp_ptorders.PtId
ORDER BY hp_patient.name
时间: 2024-12-17 02:54:43
SELECT hp_patient.name, hp_ptorders.DrugName, hp_ptorders.Dosage,hp_ptorders.DosageUnit
FROM hp_patient
LEFT JOIN hp_ptorders
ON hp_patient.pid=hp_ptorders.PtId
ORDER BY hp_patient.name