Skip to content
Advertisement

INSERT and SELECT on the same table in one SQL statement

I have the following SQL query :

MySQL is complaining with the following error:

Is there a way to achieve this without spliting the SQL statment into 2 ?!

Advertisement

Answer

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement