2. DROP Command
“The DROP Command Perform Three Types Task in MySql”
1. Drop Database
2. Drop Table
3. Drop Column
3. Drop Database
The DROP DATABASE statement is used to drop an existing SQL
database.
Syntax:
DROP DATABASE database_name;
Example
DROP DATABASE Hill;
5. Drop Table
The DROP TABLE statement is used to drop an
existing table in a Database, Permanently .
Syntax:
DROP TABLE table_name;
Example
DROP TABLE Employees;
7. Drop Column
This Command delete a column in a table,
Permanently
Syntax:
ALTER TABLE table_name DROP COLUMN column_name;
Example
ALTER TABLE Employee DROP COLUMN EMail;