πŸ“Š MySQL
Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (D) USE sampledb

Explanation: This question is about how to tell MySQL which database you want to work with. Imagine you have multiple folders on your computer, and you want to work in a specific folder. In MySQL, you have different databases, and you need to choose the one you want to use.

Explanation by: Admin
This question is about how to tell MySQL which database you want to work with. Imagine you have multiple folders on your computer, and you want to work in a specific folder. In MySQL, you have different databases, and you need to choose the one you want to use.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
80
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
81%
Success Rate