SyntaxFix
Write A Post
Hire A Developer
Questions
INSERT syntax cannot have WHERE clause. The only time you will find INSERT has WHERE clause is when you are using INSERT INTO...SELECT statement.
INSERT
WHERE
INSERT INTO...SELECT
The first syntax is already correct.