TABLE A >>
uid name
1 test1
2 test2
3 test3
4 test4
TABLE B >>
uid address
1 address1
2 address2
4 address3
RESULT
1 test1 address1
2 test2 address2
3 test3
4 test4 address3
任何人都可以告訴我如何編寫查詢並獲取上面的結果,非常感謝! 我曾嘗試加入,左和右加入。所有結果都沒有。sql加入兩張表
W¯¯你有沒有試過你的連接?即給予嘗試? – 2012-02-07 06:34:28