How to delete tables in mysql with example

To delete or drop tables in mysql use following syntax


DROP TABLE table_name;


To delete homedetails table we modify syntax to

DROP TABLE homedetails;

# Before using this syntax, don`t forget to select database where table is present.
# After deleting table, all data inside that table is lost.

Previous Code:-
Rename table name

List Code:-
Mysql Codes

Next Code:-

Leave reply

Add your comments here

Back to Top