Database cleanup: delete every cancelled order (status cancelled) from the orders table. Do not touch the other orders.
cancelled
orders
Just INSERT/UPDATE/DELETE — no trailing SELECT needed.
Sign in to see submission history
Sign in to use AI Mentor
Your query result will appear here