Updated on 2024-11-29 GMT+08:00

Deleting Tables

This topic describes the basic SQL syntax and example statements for deleting tables.

Basic Syntax

DROP TABLE [IF EXISTS] [db_name.]table_name [FORCE];

Example

  • Delete the my_table table.

    DROP TABLE IF EXISTS example_db.my_table;