1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ANEK [815]
3 years ago
8

Create a SELECT statement that returns the count, average, max and min of the invoices submitted by each vendor, who has submitt

ed more than one invoice. Order by the number of invoices in descending order. Should return 12 rows.
Computers and Technology
1 answer:
sveta [45]3 years ago
8 0

Answer:

SELECT Count(order_invoice) as number_of_invoices, Max(order_invoice) as maximum_invoice, Min(order_invoice) as minimum_invoice, Avg(order_invoice) as average_invoice

FROM vendor JOIN invoice ON invoice.id = vendor.id

WHERE order_invoice > 1

ORDER BY number_of_invoices DESC

Explanation:

The select statement of the SQL or structured query language returns twelve rows of four columns from the inner join of the vendor and invoice table in a database where the order_invoice column in the invoice table is greater than one. The result of the query is ordered by the alias column "number_of_invoices" in descending order.

You might be interested in
I'd: 9872093250, password: qqqqq, join the meeting​
jenyasd209 [6]
No thanks but Happy Mother’s Day!!!
8 0
3 years ago
An IP address specifically belongs to:
finlep [7]

Answer: An IP address is a unique address that identifies a device on the internet or a local network. IP stands for "Internet Protocol," which is the set of rules governing the format of data sent via the internet or local network.

Explanation:

5 0
2 years ago
Which function in spreadsheet software can be used to predict future sales or inventory needs?
melisa1 [442]
create a forecast, Excel creates a new worksheet that contains both a table of the historical and predicted values and a chart that expresses this data. A forecast can help you predict things like future sales, inventory requirements, or consumer trends.
6 0
3 years ago
Read 2 more answers
If 400 Pa of pressure is applied to an area of 55 m2, which is the resulting force?
Free_Kalibri [48]
Formula is
Force=pressure x area
So the answer would be
400 x 55= 22000N
7 0
4 years ago
Read 2 more answers
Define 'formatting'<br>​
Fiesta28 [93]

Answer:

Formatting refers to the appearance or presentation of your essay.

Explanation:

Most essays contain at least four different kinds of text: headings, ordinary paragraphs, quotations and bibliographic references.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Create short names for the terms below based on the naming conventions rules.
    14·1 answer
  • How can ASCII be used to represent characters in a computer system?
    15·1 answer
  • Add the function min as an abstract function to the class arrayListType to return the smallest element of the list. Also, write
    15·1 answer
  • Amy has decided to use a dark background and light colored text for her prensentation. Which toolbar option will let her change
    5·1 answer
  • You have seven DNS servers that hold an Active Directory–integrated zone named csmpub.local. Three of the DNS servers are in the
    14·1 answer
  • While performing disk and file maintenance on the company file server, you determine a user in the accounting department has bee
    13·2 answers
  • You can divide the code for an application into logical parts by moving some of the code from the main() method to other _______
    8·1 answer
  • Describe a common error that presenters make during their presentation and how to remedy the error​
    12·2 answers
  • Describing Report Tools Functions
    9·1 answer
  • What is the iterative procedure of recursive and nonrecursive?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!