How to Select a Database in MySQL

Notes:

How to Select a Database in MySQL

How to select a database from MySQL server:
- To select a database from MySQL server; we take help of use command
- use command tells MySQL to select a specified database and execute all the subsequent queries on it

Basic Syntax:
use databasename;

Ex:
use db_city_college;

Note: use command allows us to select a specific database from MySQL server and execute set of queries on it.

Interview Questions: