Question: This assignment is meant to assess your ability to JOIN data using SQL. EJ Gallo wants to know how many retail customers they have from
This assignment is meant to assess your ability to JOIN data using SQL.
EJ Gallo wants to know how many retail customers they have from each state. Type a query that joins each customer's state to the 'customers_retail' table, then groups the result in a way that shows the NUMBER of retail customers by state (call this column 'num_customers'). Your final result should just have two columns - state and num_customers.
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
