Javatpoint Logo
Javatpoint Logo

SELECT Database

USE database command is used to select the database, you want to use and create table within it.



Suppose we have multiple databases in the database list and we have to choose a particular one.

For example,we have multiple databases shown in the following image:

Mariadb Select database 1

Here we will use "Javatpoint" database to create tables etc.. So you have to use USE command.


Mariadb Select database 2

Now, "javatpoint" database is selected. You can create tables within it.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA