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
slava [35]
3 years ago
12

Create a view named Top10PaidInvoices that returns three columns for each vendor: VendorName, LastInvoice (the most recent invoi

ce date), and SumOfInvoices (the sum of the InvoiceTotal column). Return only the 10 vendors with the largest SumOfInvoices and include only paid invoices.
Computers and Technology
1 answer:
maksim [4K]3 years ago
5 0

Answer:

See Explaination

Explanation:

SELECT TOP 10 VendorName AS Name, MAX(InvoiceDate) AS LastInvoice, SUM(InvoiceTotal) AS SumOfInvoices

FROM dbo.Vendors V JOIN dbo.Invoices I

ON V.VendorID = I.VendorID

WHERE PaymentDate IS NOT NULL

GROUP BY VendorName

ORDER BY SumOFInvoices desc;

You might be interested in
Two benefits of cloud based system are what
elena-s [515]

Answer:

data backup collaboration

7 0
3 years ago
Read 2 more answers
What is one difference between IDLE and Eclipse?
Stells [14]

Answer:

IDLE is a language-specific IDE, while Eclipse is a multi-language IDE.

Explanation:

IDE or integrated development environment, are programs developed to allow programmers to Code, IDLE is specific software to code in python, has tools to make it easier and to personalize it to your python needs. Eclipse is software with open source that can be used with multiple languages basically Eclipse is a kind of IDE, while IDLE is a specific IDE for python.

5 0
3 years ago
Read 2 more answers
Write a bash script HW4p2.sh to print out the list of numbers between 0 to 100 (including 0 and 100) that are divisible by both
ratelena [41]

Answer:

#!/bin/bash

function number_div( ) {

   for i in {0. .100};

   do

   if (( $i % 3 == 0 ))

   then

   echo $i

   elif (( $i % 5 == 0 ))

   then

   echo $i

   else

   echo "Number not divisible by 3 and 5"

   fi;

   done

}

number_div( )

Explanation:

The bash script is saved as "HW4p2.sh" and executed as "./HW4p2.sh". This code would print all and only numbers divisible by 3 or 5.

8 0
3 years ago
Dentify the benefits of workplace diversity. Select all that apply.
soldier1979 [14.2K]

Answer:

Explanation:

slay ty

7 0
2 years ago
To select nonadjacent items, select the first item as usual, press and hold down the ____ key, and then while holding down the k
defon

Answer:

CTRL key

Explanation:

To select nonadjacent items in a spreadsheet, hold down the control key.

7 0
3 years ago
Other questions:
  • Which document lists the planned dates for performing tasks and meeting goals identified in the project plan?
    15·1 answer
  • If your bank is a member of the fdic, what does that mean for you?
    10·2 answers
  • When planning a comprehensive security system, the first step is designing _____, which use a combination of hardware and softwa
    14·1 answer
  • What is the minimum number of bits required to store 11 different values?
    14·1 answer
  • What is network management?
    12·1 answer
  • How do you customize Track Changes in a text document?
    11·1 answer
  • For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions)
    13·1 answer
  • What are the best websites to learn about Java Programing?
    9·1 answer
  • EDI, ________, smart cards, and digital certificates are designed to support safe and secure online transactions.
    8·1 answer
  • How might the design be changed so that additional copies of print statements would not be needed?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!