To delete or drop tables in mysql use following syntax
Syntax:-
DROP TABLE table_name;
Example:-
To delete homedetails table we modify syntax to
DROP TABLE homedetails;
Note:-
# Before using this syntax, don`t forget to select database where table is present.
# After deleting table, all data inside that table is lost.
Syntax:-
DROP TABLE table_name;
Example:-
To delete homedetails table we modify syntax to
DROP TABLE homedetails;
Note:-
# Before using this syntax, don`t forget to select database where table is present.
# After deleting table, all data inside that table is lost.
Leave reply
Add your comments here