I have 2 tables:
The relationship is as follows: 1 shop - > N leads
I need to list the number of leads registered for each store and then sort by descending order to know which store has the most leads
The inner join I am using doubles the stores when you run the query. HELP