Quiz: Data Definition

Test your knowledge of DDL commands.

1

(Select all that apply.) Consider the following code. Which statement below is true?

CREATE TABLE Dept.Department
(
   DepartmentID  INT PRIMARY KEY,
   DepartmentName VARCHAR(30)
)

A)

The DepartmentID is a constraint name of PRIMARY KEY.

B)

The DepartmentName is a text field.

C)

The Dept is the table name.

D)

The DepartmentID cannot store floating point values.

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.