Complete the code to create a new database named 'school'.
CREATE DATABASE [1];The CREATE DATABASE statement is used to create a new database. You need to specify the database name after it.
Complete the code to select the database named 'library' for use.
USE [1];The USE statement tells MySQL which database to work with. You must specify the database name after USE.
Fix the error in the code to create a database named 'company'.
CREATE [1] company;The correct keyword to create a database is DATABASE. Using TABLE or other keywords will cause an error.
Fill both blanks to create and then select a database named 'shop'.
[1] DATABASE shop; [2] shop;
First, you create the database with CREATE DATABASE. Then, you select it with USE to start working inside it.
Fill all three blanks to create a database named 'music', select it, and then drop it.
[1] DATABASE music; [2] music; [3] DATABASE music;
You first create the database with CREATE DATABASE, then select it with USE, and finally remove it with DROP DATABASE.