CREATE TABLE basics
Entity Relationship Diagrams (ERD)
DROP - how to remove a table
12. Remove a table

Instruction

That's 100% correct! Wow, the diagrams are no challenge to you!

You know how to create simple tables already. The last thing we want to present in this introductory part is how to remove a table from a database.

DROP TABLE airplane;

Piece of cake, isn't it? The above instruction will completely remove the table named airplane. Please remember that the content of the table is removed too - be careful when you drop tables, then!

Exercise

Remove the table named result from the database.

Stuck? Here's a hint!

Type

DROP TABLE result;