Question

Please help me with this question. I would really appreciate it. Please explain briefly I am...

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)


Where:
--> 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) Does this database schema allow for one fan to have multiple tickets for a given concert? Justify your answer briefly.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

In Fan-schema , fanID is the primary key of fan so it is unique for every fan. In the Ticket-schema fanID is not the primary key , the composite primary key is date,venuename,row and seatnumber. So for one fanID , multiple tickets can be booked . In the Concert-schema the composite primary key is date and venuename . So for a particular concert multiple rows and seatnumber can be booked.

So one fan can have multiple tickets for a given concert.

Do ask if any doubt. Please upvote.

Add a comment
Know the answer?
Add Answer to:
Please help me with this question. I would really appreciate it. Please explain briefly I am...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the following relational database to manage concert and ticket sales. The relations are artist, concert,...

    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) Where: • artistname is a unique name for the artist (because of trademark/copyright rules no two...

  • I would like help with this question and please be clear and thank you for the...

    I would like help with this question and please be clear and thank you for the help. Produce a relational schema diagram that corresponds to the following ER diagram for a Vacation Property Rentals database. Your relational schema diagram should include primary & foreign keys. Upload your relational schema diagram as a PDF document. Don't forget that the relation schemas for "Beach Property" and "Mountain Property" should each have primary keys. FYI: "d" in this notation denotes a subclass. Figure...

  • TM-315 DATABASE SYSTEMS Please help me to draw an ERD and the Relational Schema and please...

    TM-315 DATABASE SYSTEMS Please help me to draw an ERD and the Relational Schema and please mark the Primary and Foreign Key ..... Deliverable: Word document with grade sheet followed by Part 1 ERD and the Part 2 relational schema. Part 1: Draw the ERD for the following situation. 8 pts Be sure to: Convert all many-to-many relationships to associative entities. Make sure each regular entity has an appropriate identifier. Make sure attribute names are unique within the ERD Wally...

  • Please do Question 9 only with JUST the Alegbra in one expression, thanks. I know how...

    Please do Question 9 only with JUST the Alegbra in one expression, thanks. I know how sql works, just confused on how to write the expressions Instructions When writing a query, write the query in a way that it would work over all possible database instances and not just for the given example instance! Consider the following database schema and example instance for a cab management database. Customer caccount Name gender DOB userName 15243 Pam M 1924 Pfan 26267 John...

  • Hi i need Help. i use MYSQL command line. THE QUESTION ARE BELOW please check the...

    Hi i need Help. i use MYSQL command line. THE QUESTION ARE BELOW please check the answer before you submit because sometimes query gives error thank you For Full database of SQL you can DOWNLOAD from this link: https://drive.google.com/file/d/1xh1TcBfMtvKoxvJr7Csgnts68fF53Q1t/view?usp=sharing ------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- What are the total sales for each year. Note that you will need to use the YEAR function. Order by year with the newest year first. ------------------------------------------------------- How many employees have no customers? ------------------------------------------------------------------ List the total sales for...

  • DATABASES You are required to design and implement a relational database to help the local community...

    DATABASES You are required to design and implement a relational database to help the local community center better serve the residents in your neighborhood. Database Specifications: In your preliminary analysis, you have determined the following basic facts about the community center and the services it provides to the residents in the neighborhood: - The community center serves multiple areas which fall into different zip codes.  - The community center provides collaborative family based care services. An immediate family is...

  • I already did the assignment. Just please help me check it right or wrong Question: Jorge’s Home Services LLC (JHS) is...

    I already did the assignment. Just please help me check it right or wrong Question: Jorge’s Home Services LLC (JHS) is a home improvement retailer in Northern Virginia. JHS does not employ installers, but rather subcontracts the installations out to a list of approved installers. Whenever a customer comes to the store to request an installation service, a JHS agent will help create a contract for the installation and instantly assign an installer to the job. Afterwards, the installer will...

  • I need help in SQL management studio please. Question: Create the same query as query 5,...

    I need help in SQL management studio please. Question: Create the same query as query 5, but only include artists if they have 'Pop' Genre. Previous question: Create a list of all composers and artists in your database. Include two columns in your record set (the names of the returned columns are in brackets): 'Composer/Artist Name' and 'Type' (which will indicate whether your results are from the composer or artist table). Order by 'Composer/Artist Name'. This is the answer for...

  • I need help with this please, I'm very confused. Given the following relational model database schema:...

    I need help with this please, I'm very confused. Given the following relational model database schema: GUEST (email, address, phone_no, name) (phone_no) is a candidate key. Email and address are long strings, phone_no and name are also strings. TYPE (code, description) The type code is a numeric code and the description a length varying string. AMENITY (code, description) The amenity code is a numeric code and the description a length varying string. CITY (city_id, name, state, country) The city identification...

  • Someone please answer all of these. I need these badly. The submission date is knocking at...

    Someone please answer all of these. I need these badly. The submission date is knocking at the door. Experiment 1: SQL data definition and data insertion 46 hours) 1. CREATE TABLE. The database schema consists of the three relations, whose schemas are: S (Spa, Sname. Sgender, Sage, Sdert? // students(SID, name, gender, age, department) SC (Spa, Cne. Grade) //Course(SID, CID, grade) C (One Cname Crno. Ceredit) l/courses (CID, course name, prerequisite courses, credit) 2. DROP TABLE, ALTER TABLE, CREATE INDEX,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT