I need to use select, insert, delete and update in one request.
(I need to copy the data from the old table to the new one, and then delete the old ones and update another).
Paste and select (copy function that I was able to, but now I have a problem)
I have this query:
INSERT INTO news_n (id, data)
SELECT (id, data)
FROM news
WHERE id > 21
thank
source
share