menu

SQL – Select Database

To Select database for work use the following syntax :

Syntax for SQL – Select Database

USE Keyword is used to select the database.

USE DatabaseName;

Example

USE CustomersDb;

You are now switched to database cusetomersdb.
Now you can perform actions like select , create table etc.



Leave a Reply