Question: For each salesperson, list the total number of orders by month for the year 2010. (If you are using Access, use the Month function. If
For each salesperson, list the total number of orders by month for the year 2010. (If you are using Access, use the Month function. If you are using Oracle, convert the date to a string, using the TO_CHAR function, with the format string ‘Mon’ [i.e., TO_CHAR(order_date,‘MON’)]. If you are using another DBMS, you will need to investigate how to deal with months for this query.)
Step by Step Solution
★★★★★
3.52 Rating (176 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
MSAccess SELECT SalespersonID monthOrderDate AS Month COUNTOrderID as TotalOrders FROM Ordert ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
