Question: ( Aggregation with grouping ) Based on the plumbing supply store database from Chapter 7 , write SQL queries to perform the following tasks: A
Aggregation with grouping Based on the plumbing supply store database from Chapter write SQL queries to perform the following tasks:
A For each customer, show the Customer ID first name, last name, and the total number of orders placed.
B Show the same information about customers as in part a but count only orders placed since April ; if a customer has placed no orders since that time, they need not appear in the output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
