Simple Markup Show Markup v en Track Compu Changes D13 Reviewing Pane Accept Rej
ID: 3873914 • Letter: S
Question
Simple Markup Show Markup v en Track Compu Changes D13 Reviewing Pane Accept Reje Next raser Tracking Changes Compar Problem 41 (6 Poluts). Tha following table records pacformance pip. Tha primary hay is Bandld. BandName) Additional FDs: Bandid RandNama Locati nldenama Start Gig Nam End Time kosatieniRms Band Name 112/28/2015 UL Brunch 10:30 AM 12:30 PM 1 Jucix Lucy's 1 Acoustic Mayhem Patio 2 1/9 /2015 Fins Bar 09:00 PM 11:00 PM1aA Lodge 2 3 1/10/2015 Private 09:00 PM 11:00 PM 2 Leonard Curry Tri 1 Acoustic Mayhem Jucy Lucy's Birthday Patio 4 1/11/2015 Ski Spree 10:00 AM 12:00 PM 5 1/15/2015 Lime Light 10:00 PM 11:30 PM 11 Sams Lodge 9 Lime Light ] 1 Acoustic Mayhem 1 Acoustic Mayhem Anniversary 6 1/16/2015 Aspen Ski 12:00 PM 01:30 AM 2 Leonard Curry Tri spree event party Lodge . Civen the primary key and additional functional dependeney above, answer the following questions a Is the table in BCNF? Ifnot, normalize it to BCNF b. Show final BCNF tables with data in themExplanation / Answer
Hi,
For a table to be in BCNF, first it should be 3NF and also for every functional dependency X->Y, X should be the super key of the table.
Here given primary key is GigId, which determines all other fields,
but we also have 2 other dependencies
locationId->Lname
bandId-> Band Name
since these two are candidate keys, these need to be separated out into different tables, like
locations(locationId,Lname) where locationId is primary key,
band(bandId, band name) where bandId is primary key,
so the main table becomes
Performance(GigId,GigName,GigDate,StartTime,EndTime,locationId,bandId)
the data in all tables is as follows
and the other two tables
juicy lucy's patio
and
Thumbs up if this was helpful, otherwise let me know in comments
GigId GigName GigDate StartTime EndTime locationId bandId 1 JL Brunch 12/28/2015 10:30AM 12:30PM 1 1 2 Fins bar 01/09/2015 09:00PM 11:00PM 11 2 3 private birthday 01/10/2015 09:00PM 11:00PM 1 1 4 ski pree 01/11/2015 10:00AM 12:00PM 11 1 5 lime light 5 year anniversary 01/15/2015 09:00PM 11:30PM 9 1 6 aspen ski spree event party 01/16/2015 12:00PM 01:30AM 10 2Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.