USE statement Example –

Lets say we have above four databases in our Database management system. To use the Database “DB1” we can use the USE Statement like this:

USE DB1;

After this statement whatever operation you will perform like Create table, delete table etc. would be performed on the database “DB1”. Lets say after making modification, you may want to work with another database “Demo” then you can simply change the database like this: