我使用了多个联接表。但是我有一个错误。我听不懂这是我的代码。
`SELECT cities.cities, address.village, address.phone并显示此错误FROM tbl_join INSERT JOIN cities ON tbl_join.id = cities.id INSERT JOIN address ON tbl_join.id = address.id`
`Error SQL query: Documentation SELECT cities.cities, address.village, address.phone FROM tbl_join INSERT JOIN cities ON tbl_join.id = cities.id INSERT JOIN address ON tbl_join.id = address.id LIMIT 0, 25 MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INSERT JOIN cities ON tbl_join.id = cities.id INSERT JOIN address ON tbl_join.i' at line 4`
答案 0 :(得分:1)
它的INNER JOIN
不是INSERT JOIN