Table of Contents
Data definition language - MySQL
🔒 Please log in to unlock this course.
MCQ Section
MCQ 1
Which DDL statement is used to add a foreign key constraint to a table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 2
Which DDL statement is used to create a new table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 3
Which DDL statement is used to modify the data type of an existing column in MySQL?
Locked. Enroll to open this MCQ.
MCQ 4
Which DDL statement is used to remove a primary key constraint from a table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 5
Which DDL statement is used to add a new column to an existing table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 6
Which of the following DDL statements is used to create a new database in MySQL?
Locked. Enroll to open this MCQ.
MCQ 7
Which of the following DDL statements is used to create a new index on multiple columns of a table…
Locked. Enroll to open this MCQ.
MCQ 8
Which DDL statement is used to rename a table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 9
Which DDL statement is used to add a primary key constraint to a table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 10
Which of the following DDL statements is used to create a new index on one or more columns of a…
Locked. Enroll to open this MCQ.
MCQ 11
Which DDL statement is used to add a check constraint to a column in MySQL?
Locked. Enroll to open this MCQ.
MCQ 12
Which of the following is a valid ALTER statement in MySQL?
Locked. Enroll to open this MCQ.
MCQ 13
Which DDL statement is used to change the name of an existing column in MySQL?
Locked. Enroll to open this MCQ.
MCQ 14
Which DDL statement is used to remove a column from an existing table in MySQL?
Locked. Enroll to open this MCQ.
MCQ 15
Which DDL statement is used to add a unique constraint to a column in MySQL?
Locked. Enroll to open this MCQ.
MCQ 16
Which of the following statements is true about the DROP statement in MySQL?
Locked. Enroll to open this MCQ.
MCQ 17
Which of the following DDL statements is used to create a new view in MySQL?
Locked. Enroll to open this MCQ.
MCQ 18
Which of the following DDL statements is used to delete a view in MySQL?
Locked. Enroll to open this MCQ.
MCQ 19
Which of the following statements is true about Data Definition Language (DDL) in MySQL?
Locked. Enroll to open this MCQ.
MCQ 20
Which of the following statements is true about the TRUNCATE TABLE statement in MySQL?
Locked. Enroll to open this MCQ.
Get Complete MySQL Database Mastery Course: Beginner to Advanced with Real-World Projects updates by email
Short, practical lessons and course updates from Rumman Ansari. No spam.