Section 1 | ||||||||
1. | The employees table contains a foreign key column department_id that references the id column in the departments table. Which of the following constraint modifiers will NOT allow the deletion of id values in the department table? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
2. | The table that contains the Primary Key in a Foreign Key Constraint is known as: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
3. | If a Primary Key is made up of more than one column, one of the columns can be null. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
4. | The main reason that constraints are added to a table is: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
5. | A composite primary key may only be defined at the table level. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
6. | To automatically delete rows in a child table when a parent record is deleted use: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
7. | The number of check constraints that can be defined on a column is: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
8. | A Primary Key that is made up of more than one column is called a: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
9. | An example of adding a check constraint to limit the salary that an employee can earn is: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
10. | Foreign Key Constraints are also known as: | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
11. | Which of the following pieces of code will NOT successfully create a foreign key in the CDS table that references the SONGS table | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
|
( Vrei sa traduci ceva?Want to translate something? http://translate.google.ro/# )
Niciun comentariu:
Trimiteți un comentariu