Home »
MCQs »
MySQL MCQs
Which of the following command is used to delete a database?
15. Which of the following command is used to delete a database?
- DELETE DATABASE_NAME;
- DROP DATABASE_NAME;
- DROP DATABASE DATABASE_NAME;
- DELETE DATABASE DATABASE_NAME;
Answer: C) DROP DATABASE DATABASE_NAME;
Explanation:
DROP DATABASE DATABASE_NAME; command is used to delete a database.