【发布时间】:2017-04-18 07:45:44
【问题描述】:
以下三个表,其中最后一个表由前两个表的两列组成:
V:
我已经用 where 子句完成了问题,但无法通过 join 方法完成。 这里我使用了 where 子句:
SELECT appointmentdate,doctorname,concat(name,' ',family) AS patientname
from appointment,doctor,patients
WHERE doctor.doctor_id=appointment.doctor_id
AND appointment.patient_id=patients.patient_id;
【问题讨论】:
-
多么糟糕的问题。你没有付出任何努力来解决这个问题至少付出了一些努力来发布一个正确的问题。
-
我确实使用 where 条件完成了问题,但无法使用 join 方法完成
-
显示你尝试过的东西以及出了什么问题。