Question: Write an SQL statement to count the number of different products in each order. The end result should look like the table below with the
Write an SQL statement to count the number of different products in each order. The end result should look like the table below with the product count column filled with the appropriate number.
| Order ID | Product Count |
| 1001 | |
| 1002 | |
| 1003 | |
| 1004 | |
| 1005 | |
| 1006 | |
| 1007 | |
| 1008 | |
| 1009 | |
| 1010 |

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
