1. Engineering
  2. Computer Science
  3. please help me with this question i would really appreciate...

Question: please help me with this question i would really appreciate...

Question details

Please help me with this question. I would really appreciate it. Please explain briefly I am trying to prepare for a test.

Consider the following relational database to manage concert and ticket sales. The relations are artist, concert, venue, seat, ticket, and fan. The schemas for these relations (with primary key attributes underlined) are:

Artist-schema = (artistname, type, salary)
Concert-schema = (artistname, date, venuename, artistfees)
Venue-schema = (venuename, address, seating_capacity)
Seat-schema=(venuename, row, seatnumber)
Ticket-schema = (fanID, date, venuename, row, seatnumber)
Fan-schema = (fanID, name, address, creditcardno)
--> artistname is a unique name for the artist (because of trademark/copyright rules no two artists have the same name).
--> type is an attribute whose value is chosen from “music”, “comedy”, “juggling”, or “other”
--> artistfees is a real number greater than 0
--> fanID is a unique ID given to a customer
--> creditcardno is a 16 digit credit card number starting with a 4 or a 5

QS) Could the date attribute in ticket be a foreign key referencing only the date attribute in concert? Justify your answer briefly.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution