Que: Suppose you want to select a database named ‘sampledb’ as the default database. Which of the following commands do you use?

a. SELECT DATABASE()
b. SELECT DATABASE sampledb
c. USE DATABASE sampledb
d. USE sampledb
Answer: USE sampledb

Leave a Comment