我不明白.我试过了:
SELECT
table1.name, CONCAT( country, '.', id ) AS table1.code,
table2.name
FROM tabel1
LEFT OUTER JOIN
table2 ON ( table1.code = table2.code )
Run Code Online (Sandbox Code Playgroud)
我需要相结合country,并id以country.id因为table2.code有这个架构.
提前致谢.