Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

The DROP TABLE statement deletes a table or a file.
Please note that this feature is not yet implemented for tables from connected data sources.

Syntax

Here is the syntax:
DROP TABLE table_name;
And for files:
DROP TABLE files.file_name;
On execution, we get:
Query successfully completed
Please note that the uploaded files are tables as well. So to remove an uploaded file, use this DROP TABLE statement.