MindsDB home page
Search...
⌘K
Overview
Introduction
Overview
Data Unification
Knowledge Bases
Tables, Views, and Files
Create a Table
Remove a Table
Query a Table
Native Queries
Update a Table
Insert Into a Table
Join Tables On
Delete From a Table
Create a View
Remove a View
Query a View
Alter a View
Upload a File
Remove a File
Query a File
Projects
Data Transformation
Custom Functions
Standard SQL Support
Data Automation
Jobs
Triggers
MindsDB home page
Search...
⌘K
Ask AI
Slack
GitHub
Website
Watch Video
Watch Video
Search...
Navigation
Tables, Views, and Files
Remove a File
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Slack
GitHub
Website
Watch Video
On this page
Description
Syntax
Tables, Views, and Files
Remove a File
Copy page
Copy page
Description
The
DROP TABLE
statement is also used to delete a file.
Syntax
Here is the syntax:
Copy
Ask AI
DROP
TABLE
files
.
file_name
;
On execution, we get:
Copy
Ask AI
Query successfully completed
Please note that the uploaded files are tables as well. So to remove an uploaded file, use this
DROP TABLE
statement.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Upload a File
Query a File
Assistant
Responses are generated using AI and may contain mistakes.