✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
sales
, which contains information about sales transactions. The sales
table has columns for the date of the transaction, the name of the salesperson, the product sold, and the amount of the sale. You want to create a grouped view that shows the total sales amount for each salesperson and product combination.Example of the sales
table:
sale_date | salesperson | product | sale_amount |
---|---|---|---|
2022-03-01 | John Smith | Product A | 100.00 |
2022-03-01 | Jane Doe | Product B | 75.00 |
2022-03-02 | John Smith | Product C | 50.00 |
2022-03-03 | Bob Johnson | Product A | 25.00 |
2022-03-03 | Jane Doe | Product B | 150.00 |
Which of the following CREATE VIEW statements would accomplish this?
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!