SQL Use Database Query is use to use a database from Database Server. Suppose we have many databases on our database server and we want to see one database, for manipulation or any thing else, We will need to use Use Database Query.
Use command is used to enter into a database. If you can see a list of databases using show command, then to enter into a databse, say the name of database is student, you can type “use student;”. This command will take you inside a database.
You can think of this command as double click of mouse. When you double click an icon in your computer, you enter into that section of your computer. In the same way when by using “use student;” query you can enter into a databse called student.