Delete Row from SQL Database Table

3 months ago
1

Learn how to use Structured Query Language (SQL) to delete records from a database.

In particular, the lesson teaches you the DELETE FROM statement with a WHERE clause to delete a row by the primary key identifier column.

It is important to be very careful going about deleting records, so for most cases, make sure to always add a WHERE clause matching the value of a unique column, since you know only one row will be deleted versus potentially deleted unwanted records by mistake.

Loading comments...