Wilder Workspace Solutions

DELETE with WHERE

Removes the row whose id is 14. Run a SELECT with the same WHERE first if you want to see the row.

The numbers stay in this browser tab. Nothing you type is uploaded. Ads on this site are served by Google and may use cookies. Privacy policy.

DELETE FROM books WHERE id = 14;

01

How this number is made

Removes the row whose id is 14. Run a SELECT with the same WHERE first if you want to see the row. The names books, authors, title, year and id are examples. Point them at your own tables. This page does not connect to a database.

02

Questions

Which SQL dialect is this?

The statements here are ordinary SQL that PostgreSQL, SQLite and MySQL all accept in this simple form. Quoting rules differ once names have spaces.

03