CodesJava

Easy learning with example program codes

SQL SELECT Database


In case multiple databases exist in the SQL schema we have to select the database before performing any operation. The USE statement is used to select any existing database in SQL schema.
Syntax:

USE databaseName;

Example:

USE codesjava_db;

 
Next Topic: SQL DROP Database with example.
Previous Topic: SQL SHOW Database List with example.

 

Please follow and like us:
Posted in SQL   


Copyright © 2019 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki