Skip to main content
World Nomads Logo

How to select to use & drop DB in MySQL

MySQL SELECT Database

SELECT Database is used in MySQL to select a particular database to work with. This query is used when multiple

databases are available with MySQL Server.

You can use SQL command USE to select a particular database.

Syntax:

USE database_name;
Example:

Let's take an example to use a database name "customers".

USE customers;

MySQL Drop Database

You can drop/delete/remove a MySQL database easily with the MySQL command. You should be careful while deleting

any database because you will lose your all the data available in your database.

Syntax:

DROP DATABASE database_name;
Example:

Let's take an example to drop a database name "employees"

Subscribe channel on YouTube
Read this post on Blogger
Like page on Facebook
Tweet about video on twitter
Let's chat on whatsapp
See you at Instagram
Google+

Comments

Contact Us

Name

Email *

Message *