I have a table called CountriesList with ID and Country columns.
I have another table called Entries which have a column named Country.
I would like to INSERT all the countries in Entries into CountriesList... I am using the following syntax:
INSERT INTO CountriesList ('Country')
SELECT DISTINCT ('Country')
FROM `Entries`
However, I get
1064 - You have an error in your SQL syntax
What is wrong with the syntax?