subject

Consider the following database schema for music festival concerts. Underlined attributes denote a primary key. Only Genre can be NULL for any given tuple. FESTIVAL(FestivalName, FestivalID, Venue, StartDate, EndDate, Base TicketPrice) BAND(BANDNAME, BandID, Genre) PERFORMANCE (BID, FestID) And consider the following referential integrity constraint: For the PERFORMANCE relation, BID should reference a valid BandID in BAND, and FestID should reference a valid FestivalID in FESTIVAL. I. (60 pts) Write SQL data definitions to define appropriate table schemas for the festival concert database. Attribute domain choice is flexible, within reason (don't limit names or ids to a single character, for example). You do not need to write any code to add tuples to the database, and you can assume all the preliminary setup (Use command, etc.) before your data definition is already complete. II. (10 pts each) Write standard SQL queries to retrieve the following information from the database: a. List the band name and id of every band in the "Jazz" genre. b. List the festival name, venue, starting date, and ending date of every free festival. c. List the name of every festival at "KFC Yum! Center" that starts or ends in the year 2020. d. List every combination of band, by name, who has played (or is scheduled to play) at every venue. Each band, venue pair should be returned only once. To clarify potential confusion with query #4. if "The Miles Davis Quintet" played at five different individual festivals in Grant Park, Chicago, the pair ("Miles Davis Quintet", "Grant Park") should only be returned once by the query.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
Type the correct answer in the box. spell all words correctly.what kind of graph or chart does this image represent? the given image represents a (blank).
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
You know the right answer?
Consider the following database schema for music festival concerts. Underlined attributes denote a p...
Questions
question
Mathematics, 24.11.2021 14:50
question
Mathematics, 24.11.2021 14:50
question
English, 24.11.2021 14:50