SKYnet is a movie rental company situated in Nadi, Fiji. They hired a database designer who designed
Question:
SKYnet is a movie rental company situated in Nadi, Fiji. They hired a database designer who designed the following three tables for the company to allow it to manage customer, movie, and movie rental records. Study these tables and answer the questions that follow.
1. List five possible issues with the above database design.
2. Briefly explain two issues with the “Customer Records” table.
3. Identify the repeating group in the “Movie Rental Records” table, and briefly justify your choice.
4. List the business rules that can result in this database.
5. Use the following diagram to create the dependency diagram for the “Movie Rental Records” table showing all types of dependencies that are functional, partial, and transitive.
6. Using the initial dependency diagram you have given above, convert your table structure to 2NF, and draw the new dependency diagram.
7. Using the table structures, you created above, convert your table structure to 3NF, and draw the new dependency diagram.
8. Redesign the above database and write the relational schema showing the structure of all tables in 3NF.
9. Briefly explain the steps you took to redesign the database and how it fits with the normalization process.
10. Create the ERD for the database showing the entities, relationship between the entities (show the connectivity, cardinality, and strength of relationship), primary and foreign keys, and other attributes along with the data types.
11. Without introducing data redundancy, how can we modify this database to allow us to record the correct total amount for each movie rental transaction? At present, for some records, the total amount does not add up to the actual total for the rental transaction. This indicates an error by the user or a discount/fine that is not correctly handled by the database. discuss in detail any new business rule(s), the structure of any new table that you plan to introduce, and the changes (if any) to be made to existing tables.
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang