Exam 4: Constraints
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic SQL Select Statements121 Questions
Exam 3: Table Creation and Management136 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control136 Questions
Exam 6: Additional Database Objects138 Questions
Exam 7: User Creation and Management130 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables119 Questions
Exam 10: Selected Single-Row Functions133 Questions
Exam 11: Group Functions137 Questions
Exam 12: Subqueries and Merge Statements131 Questions
Exam 13: Views133 Questions
Select questions type
Which keywords identify a column that,if it contains a value,it must match data contained in another table?
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
A
If a constraint applies to more than one column,the constraint must be created at the ____________________ level.
Free
(Short Answer)
5.0/5
(33)
Correct Answer:
table
A(n)____________________ constraint is a special CHECK constraint with the condition of IS NOT NULL.
Free
(Short Answer)
4.7/5
(33)
Correct Answer:
NOT NULL
The UNIQUE constraint differs from the PRIMARY KEY constraint in what way?
(Multiple Choice)
4.8/5
(32)
A(n)____________________ is a rule imposed on data stored in a database in order to ensure its integrity of the data.
(Short Answer)
4.9/5
(32)
A constraint for a composite primary key must be created at the table level.
(True/False)
4.8/5
(29)
A PRIMARY KEY constraint will make certain the column designated as the primary key does not contain a NULL value.
(True/False)
4.8/5
(39)
A UNIQUE constraint is the same as a PRIMARY KEY constraint,except that it will accept NULL values.
(True/False)
4.9/5
(36)
A constraint name can consist of up to 25 characters and numbers._________________________
(True/False)
4.8/5
(31)
Structure of the ORDERITEMS table
-If a PRIMARY KEY constraint,named ORDERITEMS_PK,for the ORDER# and ITEM# columns of the ORDERITEMS table have been disabled,which of the following commands will enable the constraint?

(Multiple Choice)
4.8/5
(32)
A constraint is created at the ____________________ level if it is included as part of the column definition.
(Short Answer)
4.8/5
(36)
The ____ constraint requires that a specific condition be met before a record can be added to a table.
(Multiple Choice)
4.8/5
(38)
Which of the following is the standard abbreviation for the constraint NOT NULL?
(Multiple Choice)
4.8/5
(35)
If the Oracle 12c server assigns a name to a constraint,it will use the format ____________________ for the constraint name.
(Short Answer)
4.8/5
(38)
Structure of the PROMOTION table
-Which of the following commands will add a UNIQUE constraint to the MINRETAIL column of the PROMOTION table?

(Multiple Choice)
4.9/5
(32)
When used with a FOREIGN KEY,the keyword REFERENCES refers to what?
(Multiple Choice)
4.7/5
(37)
What is the syntax for the default constraint name provided by the Oracle 12c server?
(Multiple Choice)
4.8/5
(34)
If a(n)____________________ constraint is being dropped,then only the type of constraint needs to be identified in the ALTER TABLE because there can only be one such constraint for each table.
(Short Answer)
4.8/5
(35)
The purpose of the ____ constraint is to ensure that two records do not have the same value stored in the same column.However,it can contain NULL values.
(Multiple Choice)
4.9/5
(38)
Showing 1 - 20 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)