sumif complex

lebowski

New member
Local time
Yesterday, 18:11
Joined
Mar 27, 2010
Messages
3
hi everyone,

I have different cities and their population from different states.

I want to calculate the % of population of these cities over the total population of each states they belong to...

I thought about doing two differents queries, one to get the population of each state and another one to calculate the % but it dont work..

anybody with an idea ?

thx
 
Get those two queries together and then a third to make the calculation
 
hi everyone,

I have different cities and their population from different states.

I want to calculate the % of population of these cities over the total population of each states they belong to...

I thought about doing two differents queries, one to get the population of each state and another one to calculate the % but it dont work..

anybody with an idea ?

thx

Why, what happens, what is the SQL

It don't work don't actually help.

Brian
 

Users who are viewing this thread

Back
Top Bottom