E. The AMD venue is where the music festival showcases up-and-coming bands. We want to identify those bands that sell out this venue because we may want to sign them up to play in a bigger venue in next year's festival. Write a query that shows the performances that sold out this venue in the last five years, ordering them from most to least tickets sold. Note that the venue allows Standing Room Only (SRO) tickets to be sold, so the number of tickets sold could exceed the venue's capacity (which is the number of seats in the venue). 10. Bands that sold out the AMD venue since 2018. venue_name band_name AMD AMD AMD AMD AMD AMD AMD AMD AMD RÜFÜS DU SOL The Teeta Palm Springsteen Tame Impala Wesley Bray ARIZONA Big Thief Freya Ridings Parquet Courts year 2021 2021 2019 2019 2019 2018 2018 2018 2018 capacity 700 700 700 700 700 700 700 700 700 tickets sold 750 735 716 743 707 747 764 721 732
E. The AMD venue is where the music festival showcases up-and-coming bands. We want to identify those bands that sell out this venue because we may want to sign them up to play in a bigger venue in next year's festival. Write a query that shows the performances that sold out this venue in the last five years, ordering them from most to least tickets sold. Note that the venue allows Standing Room Only (SRO) tickets to be sold, so the number of tickets sold could exceed the venue's capacity (which is the number of seats in the venue). 10. Bands that sold out the AMD venue since 2018. venue_name band_name AMD AMD AMD AMD AMD AMD AMD AMD AMD RÜFÜS DU SOL The Teeta Palm Springsteen Tame Impala Wesley Bray ARIZONA Big Thief Freya Ridings Parquet Courts year 2021 2021 2019 2019 2019 2018 2018 2018 2018 capacity 700 700 700 700 700 700 700 700 700 tickets sold 750 735 716 743 707 747 764 721 732
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Please write the SQL query to get the results above.
I have following 7 given table schemas:
- bands_dimension: band_id / band_name / band_fee
- people_dimension: person_id / person_name
- performance_dimension: performance_id / performance_start
- purchase_dimension: purchase_id / purchase_date
- ticket_dimension: ticket_id / ticketnum
- venues_dimension: venue_id / venue_name / capacity
- ticket_sales_fact: band_id / venue_id / performance_id / ticket_id / person_id / ticket_price
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education