To drop database in mysql use following syntax.
Syntax:-
DROP DATABASE database_name;
Example:-
To delete test database, we have to modify syntax to
DROP DATABASE test;
Note:-
# After deleting database, all data and tables inside database are deleted.
Syntax:-
DROP DATABASE database_name;
Example:-
To delete test database, we have to modify syntax to
DROP DATABASE test;
Note:-
# After deleting database, all data and tables inside database are deleted.
Previous Code:-
Creating Database
List Code:-
Mysql Codes
Next Code:-
Creating Table with Primary Key
Creating Database
List Code:-
Mysql Codes
Next Code:-
Creating Table with Primary Key
Leave reply
Add your comments here