2) Create a SELECT statement that returns the count, average, max and min of the invoices submitted by each vendor, who has submitted more than one invoice. Order by the number of invoices in descending order. Should return 12 rows. number of vendor name average_invoice_total min_invoice_total max_invoice total invoices Federal Exoress Corporation United Parcel Service Zvlka Desian Pacific Bel Malov Lithoarachina Inc Roadwav Packaoe Svstem. Inc Blue Cross Compuserve Inoram Data Reoroductions Coro IBM Cardinal Business Media. Inc. 47 93. 15 10.00 739.20 9 2575.33 1927.54 3813.33 867.53 313. 55 1962. 13 46.21 28.50 16.33 23978.48 10976.06 37966. 19 10.92 6.00 25.67 188.00 116.00 224.00 9.95 9.95 9.95 1077.21 579. 42 1575.00 2. 10963.66 85.31 21842.00 1083. 58 600.06 116. 54 90.36 132.68 175.00
2) Create a SELECT statement that returns the count, average, max and min of the invoices submitted by each vendor, who has submitted more than one invoice. Order by the number of invoices in descending order. Should return 12 rows. number of vendor name average_invoice_total min_invoice_total max_invoice total invoices Federal Exoress Corporation United Parcel Service Zvlka Desian Pacific Bel Malov Lithoarachina Inc Roadwav Packaoe Svstem. Inc Blue Cross Compuserve Inoram Data Reoroductions Coro IBM Cardinal Business Media. Inc. 47 93. 15 10.00 739.20 9 2575.33 1927.54 3813.33 867.53 313. 55 1962. 13 46.21 28.50 16.33 23978.48 10976.06 37966. 19 10.92 6.00 25.67 188.00 116.00 224.00 9.95 9.95 9.95 1077.21 579. 42 1575.00 2. 10963.66 85.31 21842.00 1083. 58 600.06 116. 54 90.36 132.68 175.00
Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 25P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 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 Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning