Exam 4: Constraints
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic Sql Select Statements122 Questions
Exam 3: Table Creation and Management132 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control132 Questions
Exam 6: Additional Database Objects132 Questions
Exam 7: User Creation and Management132 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables131 Questions
Exam 10: Selected Single Row Functions133 Questions
Exam 11: Group Functions134 Questions
Exam 12: Subqueries and Merge Statements132 Questions
Exam 13: Views133 Questions
Select questions type
The ____________________ keywords can be added to the end of the command that creates a FOREIGN KEY constraint to indicate that when a row is deleted from the parent table that is referenced by entries in the child table, the rows in the child table should also be deleted.
(Short Answer)
4.8/5
(35)
The ____________________ command can be used to enable or disable a constraint.
(Short Answer)
5.0/5
(39)
When a constraint is created at the table level, the constraint definition is provided ____ the column definition list.
(Multiple Choice)
4.7/5
(38)
A constraint name can consist of up to characters and numbers. _________________________
(True/False)
4.8/5
(36)
The constraint is used to ensure that a data value meets a specified condition before a record is added to a table. _________________________
(True/False)
4.9/5
(33)
Which of the following statements about the FOREIGN KEY constraint is incorrect?
(Multiple Choice)
4.9/5
(33)
The UNIQUE constraint differs from the PRIMARY KEY constraint in what way?
(Multiple Choice)
4.9/5
(46)
The ____________________ view can be used to list the names of the constraints that exist for all tables owned by the user.
(Short Answer)
4.9/5
(39)
In the USER_CONSTRAINTS view, the value displayed in the CONSTRAINT_TYPE column will be a(n) ____ for a FOREIGN KEY constraint.
(Multiple Choice)
5.0/5
(39)
What is the relationship between a NOT NULL constraint and a CHECK constraint?
(Essay)
4.9/5
(48)
The FOREIGN KEY constraint is usually placed on the side of a one-to-many relationship. _________________________
(True/False)
4.7/5
(33)
A PRIMARY KEY constraint will make certain the column designated as the primary key does not contain a NULL value.
(True/False)
4.9/5
(34)
The data contains information about objects included in the database. _________________________
(True/False)
4.8/5
(34)
If the ____ keyword is included when a constraint is created, a constraint name must be provided by the user.
(Multiple Choice)
4.8/5
(31)
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.8/5
(33)
In a "one-to-many" relationship, which constraint is usually added to the "many" table?
(Multiple Choice)
4.7/5
(32)
The clause of the ALTER TABLE command is used to add a PRIMARY KEY constraint to an existing table. _________________________
(True/False)
4.9/5
(30)
Structure of the ORDERITEMS table
-If a PRIMARY KEY constraint, named ORDERITEMS_PK, exists for the ORDER# and ITEM# columns of the ORDERITEMS table, which of the following commands will drop the constraint?

(Multiple Choice)
4.9/5
(43)
The ____________________ TABLE command is used to add a PRIMARY KEY constraint to an existing table.
(Short Answer)
5.0/5
(36)
Showing 41 - 60 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)