Mapeo de Horse y Music

Mapeo de Horse y Music - topSongs(year,songcode,rating)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 Err:510 Esta es la solucion HORSE Err:510 raceHorse(regnum,hname, gender,yearbought, purchaseprice, type,trainerID, barnID) PK(regnum) FK(trainerID) references person(pID) FK(barnID) references barn(bID) person(pID, pName, pPhone, PAddress) pk(pID) ownedby(regnum,pID, percentage) PK(regnum,pID) FK(pID) references person(pID) FK(regNum) references raceHorse(regnum) offspring(regnum,parentregnum) PK (regnum,parentregnum) FK(regnum) references raceHorse(regnum) FK(parentregnum) references raceHorse(regnum) entry(sID, rNumber, gate, regnum, JockeyID,finalpos) PK(sID, rNumber, gate) FK(sID, rNumber) references race(sID, rNumber) FK( regnum) references raceHorse(regnum) FK(JockeyID) references person(pID) race(sID, rNumber, purse) PK(sID, rNumber) FK(sID) references raceSchedule(sID) raceSchedule(sID, day, month, year) PK(sID) barn(bID, bName) PK(bID) Esta es la solucion MUSIC Year(year) PK(year) topCDs(year,cdCode, rating) PK(year,cdCode) FK(year) references year(year) FK(cdCode) references CDTitles(cdCode)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: topSongs(year,songcode,rating) PK(year,songcode) FK(year) references year(year) FK(songcode) references SongTitles(songcode) Sheet1 Page 2 RecordingLabels(labelID, labelname, location) PK(labelID) CDTitles(cdCode, year, numbersold, cdTitle, labelID, groupCode, PK(cdCode) FK(labelID) references RecordingLabels(labelID) FK(groupCode) references MusicalGroups(groupCode) ComposedOf(songcode, cdCode, tracknumber) PK( songcode, cdCode) FK(cdCode) references CDTitles(cdCode) FK(songcode) references tt(songcode) SongTitles(songcode,songtitle) PK(songcode) writtenBy(songcode,artistID) PK(songcode,artistID) FK(songcode) references SongTitles(songcode) FK(artistID) references Artists(artistID) Artists(artistID, firstname, lastname, yearBorn) PK(artistID) member(groupCode,artistID, fromDate, toDate) PK(groupCode,artistID) FK(artistID) references Artists(artistID) MusicalGroups(groupCode, groupName) PK(groupCode)...
View Full Document

This note was uploaded on 10/29/2009 for the course ITC TC1009 taught by Professor Lorenagonzález during the Spring '09 term at ITESM.

Page1 / 2

Mapeo de Horse y Music - topSongs(year,songcode,rating)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online