INSERT INTO `competitions` (`name`) VALUES SELECT `name` FROM `competitions`
Produces the following error:
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 ‘SELECT
nameFROMcompetitions‘ at line 1
I’m probably overlooking something trivial but I really don’t see what I’m doing wrong here.
Correct syntax is
Refer to: INSERT … SELECT Syntax