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
icon
Related questions
Question

Please write the SQL query to get the results above.

I have following 7 given table schemas:

  1. bands_dimension: band_id / band_name / band_fee
  2. people_dimension: person_id / person_name
  3. performance_dimension: performance_id / performance_start
  4. purchase_dimension: purchase_id / purchase_date
  5. ticket_dimension: ticket_id / ticketnum
  6. venues_dimension: venue_id / venue_name / capacity
  7. ticket_sales_fact: band_id / venue_id / performance_id / ticket_id / person_id / ticket_price
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
AMD
RÜFÜS DU SOL
The Teeta
Palm Springsteen
Tame Impala
Wesley Bray
ARIZONA
Big Thief
Freya Ridings
Parquet Courts
Tinashe
year
2021
2021
2019
2019
2019
2018
2018
2018
2018
2018
capacity
700
700
700
700
700
700
700
700
700
700
tickets
sold
750
735
716
743
707
747
764
721
732
806
Transcribed Image Text: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 AMD RÜFÜS DU SOL The Teeta Palm Springsteen Tame Impala Wesley Bray ARIZONA Big Thief Freya Ridings Parquet Courts Tinashe year 2021 2021 2019 2019 2019 2018 2018 2018 2018 2018 capacity 700 700 700 700 700 700 700 700 700 700 tickets sold 750 735 716 743 707 747 764 721 732 806
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
SQL Query
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.
Similar questions
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education