联合3表mysql错误

时间:2018-03-16 23:06:09

标签: mysql database select

嗨开发人员我试图从表中获取数据" etudiant"在哪里" etudiant"和#34; enseignant"与表#34;服务"

具有相同的外键
SELECT
    *
FROM
    etudiant
INNER JOIN etservice et1 ON
    et1.id_service = enseigant.id_service
INNER JOIN etservice ON etservice.id_service = etudiant.id_service
WHERE
    1 = 1

0 个答案:

没有答案