Question

Create a query in microsoft access  based on tblTransactions and tblProducts that calculates total sales volume for each ProductType during the first quarter of 2018. The query should calculate the total quantity of items sold by applying the Sum aggregate function to the Quantity field. Group the results by ProductType.

tblTransactions 8/6/2019 ProductID TransID CustID RepID TransactionDate Quantity 12 Nguyen 13 Nguyen 14 1/1/2018 Jenkins JohntblParticipant 8/6/2019 ParticipantID Last Name Street Address First Name City Samuel 2 Mark 427 Kanengiser Rd Santa Ana Pueb

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find the SQL query below.

QUERY

SELECT p.ProductType, sum(t.Quantity) FROM tblTransactions t JOIN tblProducts p ON t.ProductID = p.ProductID WHERE t.TransactionDate BETWEEN '1/1/2018' AND '3/31/2018' 'GROUP BY p.ProductType;

Add a comment
Know the answer?
Add Answer to:
Create a query in microsoft access  based on tblTransactions and tblProducts that calculates total sales volume for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Could anyone help me with the lookup function for #5? Plain Text Tahoma Start Excel. Open...

    Could anyone help me with the lookup function for #5? Plain Text Tahoma Start Excel. Open the file named ex02TravelAgency START Save the file with the name 0.000 ex02TravelAgency LastFirst, replacing LastFirst with your name. On the Agency Clients worksheet, apply the Table Style Light 14 to the Clients named range. Note, the style may be named Green, Table Style Light 14, depending on the version of Office used. 2 2.000 3 named ranges for each of the column headings...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT