0
我開始使用MySQL,我不知道如何解決這樣的事情:MySQL的聯合選取表1字段3 =表2字段5
SELECT
table1.col1 AS A,
table1.col3 As B
UNION
table2.col2 AS C,
table2.col5 AS D
WHERE
table1.col4 = table2.col6
/*expected*/
A B C D