# DROP TABLE: delete tables
Run through and play with the interactive database for this lecture to learn about this better!
If you ever want to delete an entire table and all its data, you can use
DROP TABLE entries;
There's really not much to it, other than be careful that it is what you want to do! Data is non-recoverable.
You'll get an error if you try to drop a table that doesn't exist.
To avoid the error, try this:
DROP TABLE IF EXISTS entries;