Database Design for Mere Mortals: A Hands-On Guide to Relational Database Design
1: | State two major reasons why a relationship is important. |
A1: | A relationship is important for the following reasons:
|
2: | Name the three types of relationships. |
A2: | The three types of relationships are one-to-one , one-to-many , and many-to-many . |
3: | Which relationship will pose the most problems? |
A3: | The many-to-many relationship will pose the most problems. |
4: | State two problems you could possibly encounter with a many-to-many relationship. |
A4: | You could possibly encounter problems such as these with a many-to-many relationship:
|
5: | What is a self-referencing relationship ? |
A5: | A self-referencing relationship is a relationship that exists between the records within a given table. |
6: | How do you begin the process of identifying the relationships among the tables in the database? |
A6: | You begin the process of identifying the relationships among the tables in the database by creating a matrix of all the tables. |
7: | What are the two types of questions you can ask to help you identify existing relationships? |
A7: | The two types of questions you can ask to help you identify existing relationships are associative and contextual. |
8: | What shorthand symbol do you use to designate a one-to-many relationship in the table matrix ? |
A8: | You use a 1:N shorthand symbol to designate a one-to-many relationship in the table matrix. |
9: | How do you determine what type of relationship officially exists between each pair of tables in the matrix? |
A9: | You determine what type of relationship officially exists between each pair of tables in the matrix using formulas that correspond to the three relationship-type definitions. |
10: | How do you establish a one-to-many relationship? |
A10: | You establish a one-to-many relationship by taking a copy of the primary key from the table on the "one" side of the relationship and incorporating it within the table structure on the "many" side, where it then becomes a foreign key. |
11: | True or False: Retrieving information from tables with a self-referencing relationship can be tedious and somewhat difficult. |
A11: | True. Retrieving information from tables with a self-referencing relationship can be tedious and somewhat difficult. |
12: | How do you establish a self-referencing many-to-many relationship? |
A12: | You establish a self-referencing many-to-many relationship as you would a dual-table many-to-many relationshipwith a linking table. |
13: | How do you refine the foreign keys in the database? |
A13: | You refine the foreign keys in the database by ensuring that each one complies with the Elements of a Foreign Key. |
14: | What two element categories must you modify for a foreign key's field specification? |
A14: | The two element categories you must modify for a foreign key's field specification are the General Elements and Logical Elements categories. |
15: | What is the function of a deletion rule ? |
A15: | A deletion rule determines what your RDBMS should do when you place a request to delete a given record in the parent table of the relationship. |
16: | What two types of participation can you designate for a table? |
A16: | The two types of participation you can designate for a table are Mandatory and Optional. |
17: | What does the degree of participation indicate ? |
A17: | The degree of participation indicates the minimum number of records that a given table must have associated with a single record in the related table and the maximum number of records that the table is allowed to have associated with a single record in the related table. |
18: | When does a relationship attain relationship-level integrity ? |
A18: | A relationship attains relationship-level integrity after you've verified that it is properly established and its characteristics are suitably set. |
|
Top |