出於某種原因,運行下面的代碼時,我收到以下錯誤:MySQL的語句返回語法錯誤
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM postcodes_demographics INNER JOIN latlon1 on postcodes_demographics.postc' at line 3
我不明白我在做什麼錯了,感謝您的任何建議!
INSERT INTO pslatlong
SELECT postcodes_demographics.*, latlon1.*,
FROM postcodes_demographics
INNER JOIN latlon1
on postcodes_demographics.postcode = latlon1.postcodens;
刪除'select'子句末尾的逗號。 –