i need in one query use select, insert, delete and update.
(I need copy data from old table in to new, then delete old, and update another).
Insert and select (copy function I was able to, but now i have problem)
I have this query:
INSERT INTO news_n (id, data)
SELECT (id, data)
FROM news
WHERE id > 21
Thanks
SELECTwithUPDATEorDELETE.