1 | 4 | SELECT DISTINCT
Examination.id, Examination.name, Examination.reading,
ExamType.category AS ExamType__category
FROM
ex__examinations AS Examination
LEFT JOIN
ex__exam_diseases_examinations AS ExamDiseasesExaminations
ON Examination.id = ExamDiseasesExaminations.examination_id
LEFT JOIN
ex__examinations_types AS ExaminationsType
ON Examination.id = ExaminationsType.examination_id
LEFT JOIN
ex__exam_diseases AS ED
ON ED.id = ExamDiseasesExaminations.exam_disease_id
LEFT JOIN
ex__exam_types AS ExamType
ON ExamType.id = ExaminationsType.type_id
WHERE
ED.name = "鉄欠乏性貧血"
ORDER BY
Examination.lexicode ASC, Examination.name ASC
| ExaminationsTable | 2024-11-09 16:32:25 |