Back to course home
0% completed
Vote For New Content
DROP
DROP
In SQL, the DROP statement is used to remove or delete database objects, such as tables, or databases.
Here are a few common uses of the DROP statement:
-
Drop a table
You can delete a table in sql by using the drop command.
DROP TABLE table_name;By specifying the name of table you want to delete, this command will delete the table and its associations.
-
Drop a database
A database can also be deleted by using the
DROPcommand. All the table of the database will also be deleted.
.....
.....
.....
Like the course? Get enrolled and start learning!