TL;DR – You can remove a database, a table or an index easily by using the DROP command.
Contents
The syntax for SQL DROP
In MS Access
Example
DROP INDEX indx_name ON tbl_name
In MS SQL Server
Example
DROP INDEX tbl_name.indx_name
In DB2/Oracle
Example
DROP INDEX indx_name
In MySQL
Example
ALTER TABLE tbl_name DROP INDEX indx_name
SQL DROP TABLE
Example
DROP TABLE tbl_name
SQL DROP DATABASE
Example
DROP DATABASE db_name
Removing the data from the table
Example
TRUNCATE TABLE tbl_name