Tutorials

Drop Command

 DROP Command is use to remove the database from MySQL Server. It's also used to remove the table from the database.


If you want to remove the Database from the MySQL Server.

Command is:

DROP DATABASE DatabaseName;

Example:

DROP DATABASE schooldb;


If you want to remove a Table from a Database.

Command is:

DROP TABLE TableName;

Example:

DROP TABLE Student;

No comments:

Post a Comment