diff --git a/content/sql/concepts/commands/terms/drop-table/drop-table.md b/content/sql/concepts/commands/terms/drop-table/drop-table.md new file mode 100644 index 00000000000..3d8c1ca4863 --- /dev/null +++ b/content/sql/concepts/commands/terms/drop-table/drop-table.md @@ -0,0 +1,34 @@ +--- +Title: 'DROP TABLE' +Description: 'Deletes an existing table in a database.' +Subjects: + - 'Data Science' +Tags: + - 'Database' + - 'Queries' + - 'PostgreSQL' + - 'MySQL' + - 'SQLite' + - 'Tables' +CatalogContent: + - 'learn-sql' + - 'paths/analyze-data-with-sql' +--- + +The **`DROP TABLE`** command deletes an existing table in a [database](https://www.codecademy.com/resources/docs/general/database). + +## Syntax + +```pseudo +DROP TABLE table_name; +``` + +The above command removes the `table_name` table from a database. + +## Example + +```sql +DROP TABLE students; +``` + +This example removes the `students` table from a database.