Loading

Q1.

Which SQL command is used to create a database?
A. CREATE TABLE
B. CREATE DATABASE
C. NEW DATABASE
D. MAKE DATABASE

Q2.

Which command shows all databases in MySQL?
A. LIST DATABASES
B. DISPLAY DATABASES
C. SHOW DATABASES
D. GET DATABASES

Q3.

Why is the USE command important?
A. To delete a database
B. To select a database
C. To rename a database
D. To backup data

Q4.

A database mainly contains what?
A. Rows
B. Columns
C. Tables
D. Queries

Q5.

What is the first step in any SQL project?
A. Insert data
B. Create tables
C. Create database
D. Run SELECT