Skip to main content

USE

USE

Name

USE

Description

The USE command allows us to use the database

grammar:

USE <DATABASE_NAME>

Example

  1. If the demo database exists, try accessing it:

    mysql> use demo;
    Database changed

Keywords

USE

Best Practice