SQL 関連付けの問題 ABC の 3 つのテーブル、A.id = B.aid と A.id = C.a2id、この関連付けをどのように書くか?
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = B. a2id
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.name as aname,B.name as bname,C.name as cname from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.name as aname,B.name as bname,C.name as cname from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.*,B.*,C.* from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
select A.name as aname,B.name as bname,C.name as cname from Aleft join B on A.id = B.aidleft join C on A.id = C.a2id
これを参照することをお勧めします: http:// doc.thinkphp.cn/manual /continuous_operation.html
今急いでるので読む時間がありません、教えてください