final home work for database/.DS_Store __MACOSX/final home work for database/._.DS_Store final home work for database/book_order relationship screen.docx Book Order Relationship Screen __MACOSX/final home work for database/._book_order relationship screen.docx final home work for database/Graduate database final assignment spring 2015.docGrad Database final Assignment Spring 2015 200 points (You MUST PRINT this assignment and turn it in at the beginning of class on April 30) NAME__________________________________ 1. When defining a domain what are you trying to describe? 2. Give an example of a domain for a social security number? 3. A Doctor (the user of the database) has asked for an additional field to be added to the patient table. There are many reports that will use this field, but there are others that will not. Explain what should happen to this database in that other doctors and administrators may use it as well 4. Do you agree with the concept that a good database will have no repeated data in the tables? Back up your answer 5. (See surgery table) A patient may have more than one diagnosis associated with the surgery (represented by the dcode) and more than one procedure code associated with the surgery(represented by pcode) For example, the patient could have two procedure codes and three diagnostic codes for each surgery. What is wrong with the data in the table to the right? 6. Using the ER design below (keys defined with *), how may tables will be defined and what data will be in the tables? 7. In the Access Relationship screen below, what can you say about the demograph table? What can you say about the social security number in the demograph table and all of the other tables? 8. Using the handout for the Sales database, could cust_id and inv_date be a key for the invoice table? Why or why not? 9. Using the handout for the Sales database, explain referential integrity? 10. Using a hospital database, give an example of data inconsistency that could exist in a database that was poorly designed 11. Using a hospital database as an example, list three different external views of the data in the database 12. What is data independence? 13. Describe what a key is and give an example of a possible key if you were creating a patient appointment table 14. Using the book-order database relationship screen(included with this exam), list 5 constraints you could define 15. Using the Access relationship handout for the Book Order Database, what can you say about the prof_code in both the Professor and Course_offerings tables? 16. Select two tables from the mail order database and prove if they are in 2nd and/or 3rd normal form. 17. Your Uncle has a landscape business. He has a lot of repeat customers, so it is very important to keep track of what services they have done as well as the satisfaction of the work. Lately there have been a few complaints, therefore you will need to keep track of which employee ...