SQL SELECT DATABASE

SQL SELECT DATABASE

  SQL SELECT DATABASE


In this chapter of the MySQL Tutorial, You will learn how to use databases in MySQL. Before executing any operation on a database you just need to use that database.

Syntax:

USE database_name;

Example:

ogin to your MySQL server using the command line. You will get MySQL database prompts like mysql> . Now use the following command to connect mydb database.

mysql> use mydb;
Reactions

Post a Comment

0 Comments

close