Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Count of invoices for each vendor (invoice_count) Sum of invoice total values by vendor (invoice_total_count) Average invoice_total amount for each vendor Rent and her to

image text in transcribed
image text in transcribed
Count of invoices for each vendor (invoice_count) Sum of invoice total values by vendor (invoice_total_count) Average invoice_total amount for each vendor Rent and her to Export Wrap Oil Contact vendor nane invoice_count Invoice_total_sun Invoice average Federal Express Corporation 47 $ 4,378.02 $ 93.15 United Parcel Service 9 $ 23,177.96 $ 2,575.33 zyika Design 8 $ 6,948.25 $ 867.53 Pacific Bell 6 $ 171.01 $28.50 Malloy Lithographing Inc 5 $ 119,892,41 $ 23,978,48 Roadway Package Systen, Inc 4 $ 43.67 $ 10.92 Blue Cross 3 $ 564.00 $ 188.00 Compuserve 2 $ 19.90 $9.95 IBM 2 $ 1.200.12 $ 600.06 Cardinal Business Media, Inc. 2 $265.36 $ 132,68 Data Reproductions Corp 2 $ 21,927.31 $ 10,963.66 Ingran 2 $ 2,154.42 $ 1,077.21 Fresno County Tax Collector 1 $ 856.92 $ 856.92 Dristas Groon & McCornick 1 $ 220.00 $ 220.00 Bertelsmann Industry Sves. Inc 1 $ 6,940.25 $ 5,940.25 Reiter's Scientific & Pro 5... 1 $ 600.00 $ 600.00 Franchise Tax Board 1 $ 1,600.ee $ 1.600.60 2 pts Question 3 Write a SELECT statement that returns the same result set as the SELECT statement below, but don't use a join Instead, use a subquery, in a WHERE clause that uses the IN keyword. SELECT DISTINCT vendor_name FROM vendors v JOIN invoices i USING (vendor_id) ORDER BY vendor_name

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

Differentiate the function. t(t + 1)8 g'(t) = g(t) = In 5 2t - 1

Answered: 1 week ago

Question

=+ How would you advise those problems be resolved?

Answered: 1 week ago