Professional Documents
Culture Documents
Assigment 2
Assigment 2
Note: Please use proper referencing (where necessary) when submitting your report. Report without
references shall not be acceptable. For developing relational diagrams, you can use any software. If you
do not have access to any software, please draw it on a page, scan it and include that in the report.
Page 1 of 1
Three tables Employee, Store and Region are given in Figure P3.1. Please go through these
tables and answer the following questions. (Hint: Each store employs many employees, one
of whom manages the store.)
Define primary and foreign key. For each table, identify the primary key and the foreign key(s).
If a table does not have a foreign key, write None.
Define entity integrity. Do the tables exhibit entity integrity? Answer yes or no, and then explain
your answer.
Page 2 of 1
Question No. 3 (Marks 2)
Define referential integrity. Do the tables exhibit referential integrity? Answer yes or no, and
then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key.
Create a relational diagram to show the relationships among EMPLOYEE, STORE, and REGION.
Page 3 of 1