Assignment Submission
Write your solutions in a Word file, type your name and course number in that file, name it.
This the question down below:
QUESTION 1
- 1. To keep track of books it sells, a B Club book store uses the table structure shown below. Assuming that the sample data are representative, draw a dependency diagram in Visio that shows all functional dependencies including both partial and transitive dependencies. (Hint: Look at the sample values to determine the nature of the relationships.)Attribute NameSample ValueSample ValueSample ValueBOOK_CODE123454837519356BOOK_TITLEHistory of RomeNew LegendIntro to DatabasesGENRE_CODEH23M12F01GENRE_DESCRIPHistoryMysteryComputersAUTHOR_ID3399, 483933999375AUTHOR_NAMERobert Knut, John SmithRobert KnutDiego PriestlyBOOK_PRICE23.2512.6518.902. Using the initial dependency diagram drawn in question 1, remove all partial dependencies, draw the new dependency diagrams in Visio, and identify the normal forms for each table structure you created.3. Using the table structures you created in question 2, remove all transitive dependencies, and draw the new dependency diagrams in Visio. Also identify the normal forms for each table structure you created. If necessary, add or modify attributes to create appropriate determinants or to adhere to the naming conventions.4. Using the results of question 3, draw the fully labeled Crow’s Foot ERD in Visio. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram.
here is the 2nd portion below with the instructions:INSTRUCTIONS
For the database you designed in your previous assignments, write ten queries using operations of relational algebra. Queries must follow the requirements listed below.- Queries 1 – 3 must retrieve at least two attributes and must be based on a single table. Each query must include at least two conditions. Provide an explanation of what the query is retrieving. Use complete, coherent sentences with no database terminology.
- Queries 4 – 6 must retrieve at least three attributes in total and must be based on two tables. Each query must include at least two conditions. Provide an explanation of what the query is retrieving. Use complete, coherent sentences with no database terminology.
- Queries 7 – 8 must retrieve at least three attributes in total and must be based on three tables. Each query must include at least two conditions. Provide an explanation of what the query is retrieving. Use complete, coherent sentences with no database terminology.
- Queries 9 – 10 must be based on at least two tables, include at least two conditions, and one grouping function operator. Provide an explanation of what the query is retrieving. Use complete, coherent sentences with no database terminology.
- Note: Please include your ERD/EERD along with your solutions.