Skip to main content
MindsDB home page
Unify
Ask AI
Copy page
Search...
MindsDB home page
Search...
Navigation
Tables, Views, and Files
Remove a File
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
Watch Video
Slack
GitHub
Website
On this page
Description
Syntax
Tables, Views, and Files
Remove a File
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.