Q. To create a database only if it doesn't already exist, which clause is used?

  • (A) IF EXISTS
  • (B) IF NOT EXISTS
  • (C) CREATE EXISTS
  • (D) EXISTS IF
πŸ’¬ Discuss
βœ… Correct Answer: (B) IF NOT EXISTS
Explanation: This question is about creating a database in MySQL. In MySQL, you can use the CREATE DATABASE command to create a new database.
Explanation by: Priyanka Tomar
This question is about creating a database in MySQL. In MySQL, you can use the CREATE DATABASE command to create a new database.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
116
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
98%
Success Rate