USE

Grammar Description

The USE statement is used to select the current database for subsequent operations in this database.

Grammar Structure

SQL
USE db_name

Example

SQL
USE db1;
SELECT COUNT(*) FROM mytable;
Last updated on