How to drop/delete a table in MySQL database?

How to drop/delete a table in MySQL database?

Database, Drop, MySQL, Table

59 | 0 | 0

We can use DROP TABLE statement to drop/delete an existing table in a database. Deleting a table will remove complete information stored in the table. It is a DML (Data Manipulation Language) command. 

Syntax:

DROP TABLE <table_name>;

Example:

DROP TABLE employees;

 

Comments (0)

🤔

No comments yet, be the first to help

Welcome to CodePits.

CodePits provide a collection of tutorials about many programming languages like PHP, Laravel Framework, Codeigniter Framework, Mysql Database, Bootstrap Front-end Framework, Jquery, Node JS, Ajax Example, APIs, CURL Example, Composer Packages Example, AngularJS, Ionic Framework, etc. 🙌

Other Posts

Categories

Tags

Comment