Task 1 Entity Relationship Modeling Scenario: Notown Records has decided to store information about musicians who perform on its albums (as well as other company data) in a database. The company has...

Task 1 Entity Relationship Modeling Scenario: Notown Records has decided to store information about musicians who perform on its albums (as well as other company data) in a database. The company has wisely chosen to hire your as a database designer (at your usual consulting fee of $2500/day). • Each musician that records at Notown has an SSN, a name, an address, and a phone number. Poorly paid musicians often share the same address, and no address has more than one phone. • Each instrument used in songs recorded at Notown has a unique number, a name (e.g., guitar, synthesizer, flute) and a musical key (e.g., C, B-flat, E-flat) • Each album recorded on the Notown label has a unique identification number, a title, a copyright date, a format (e.g., CD or MC), and an album identifier. • Each song recorded at Notown has a title and an author. • Each musician may play several instruments, and a given instrument may be played by several musicians. • Each album has a number of songs on it, but no song may appear on more than one album. • Each song is performed by one or more musicians, and a musician may perform a number of songs. • Each album has exactly one musician who acts as its producer. A musician may produce several albums, of course. Based on the above-mentioned scenario, answer the following questions: i) Provide two good reasons for drawing an ER Diagram before building a database. Especially, how an E-R diagram would benefit the above scenario. ii) Identify all the entities in the given scenarios and highlight the weak entities. iii) Draw an E-R diagram. ITDA1001 Database Fundamentals Copyright © 2015-2018 VIT, All Rights Reserved. 4 Task 2 Normalization Normalize the following table up to the third normalized form based on below details: A dental clinic provides appointments to its patients. The following table provides a record of appointments for surgical procedures. Dentist Id Dentist Name Patient No Patient Name Appointment Date Appointment Time Surgery No Surgery Name D1011 Roger P100 Smith 02-10-2018 10:00 am S1 Pulpotomy D1011 Roger P110 Robin 03-10-2018 11:00 am S2 Pulpectomy D1025 Helen P105 Bell 05-10-2018 10:00 am S11 Apicoectomy D1025 Helen P105 Bell 10-10-2018 10:00 am S11 Apicoectomy D1035 Peter P110 Aaron 15-10-2018 10:00 am S2 Pulpectomy Unnormalized table: Patient (DentistId, DentistName, PatientNo, PatientName, AppointmentDate, AppointmentTime, SurgeryNo, SurgeryName) Task 3 SQL Queries Write SQL statements for following: • Retrieve a list of Northwind’s Customers (names) who are in Melbourne city. • List all the product names from Tokyo Traders where the product's unit price is greater than 100. • List all those cities that have both Northwind’s Supplier and Customers. You can download the Northwind database from the learning resources. Submission Instruction You should submit your assignment in word file. Please submit the assignment in the appropriate folder i.e. Assignment_Melbourne/Assignment_Sydney. You should provide output screenshots as required in the assignment. ITDA1001 Database Fundamentals Copyright © 2015-2018 VIT, All Rights Reserved. 5 Marking Guidelines:50 Task Description Marks Enitty Relationship Modeling i. Benefits of E-R diagram 7 ii. List of Entities 7 iii. E-R diagram 12 Normalization i. First form Normalization ii. Second form Normalization iii. Third form Normalization 12 SQL Queries i. Northwind’s Customer list of Melbourne City. ii. Product names from Tokyo traders. iii. List of the cities
May 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here