标签: mysql inner-join
假设您有两张桌子:
TA - apk - b - a1 TB - bpk - b1
是SQL INNER JOIN语句 reflexive 的方式,
INNER JOIN
SELECT TA.a1, TB.b1 FROM TA INNER JOIN TB ON TA.b = TB.bpk
与
SELECT TA.a1, TB.b1 FROM TB INNER JOIN TA ON TA.b = TB.bpk