P
peizmbj
Unregistered / Unconfirmed
GUEST, unregistred user!
表AAA:<br>ID String<br>NAME String<br><br>表BBB:<br>ID string<br>A string<br>B string<br>C string A/B/C字段分别存表A.ID<br>------------------------------------------------------------------<br>SELECT A.ID, B.name as Aname, C.name as Bname, D.name as Cname <br>FROM AAA A LEFT JOIN BBB B ON A.A=B.ID<br>LEFT JOIN BBB C ON A.B=C.ID <br>LEFT JOIN BBB D ON A.C=D.ID<br><br>这样会影响查询速度吗?