USE¶
Grammar Description¶
The USE statement is used to select the current database for subsequent operations in this database.
Grammar Structure¶
> USE db_name
Example¶
> USE db1;
> SELECT COUNT(*) FROM mytable;
The USE statement is used to select the current database for subsequent operations in this database.
> USE db_name
> USE db1;
> SELECT COUNT(*) FROM mytable;