MySQL – Select Database

Select database in my sql

Quick Links


MySQL – Select Database : It is very simple to select a database from the mysql> prompt. You can use the SQL command use to select a database.

Syntax:

USE database_name;

Example:

Let’s take an example to use a database name “customers”.

USE customers;

It will look like this:


Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *