S
SEdison
Let's say I have a table….with 3 fields... State, City, Popluation
I have a query where I've group by State, then Grouped by City, then have a
value of Popluation
How can i sort the query (probably using a subquery) such that the highest
population state and it's highest population city would be listed FIRST
followed by ALL of its cities in descending populatin order, Then the state
with the second largest population's largest city followed by ALL of it's
cities, etc...
My issue has been that when sorting DESC it is sorting all lined seperately
and spreading the State throughout.
Thanks
I have a query where I've group by State, then Grouped by City, then have a
value of Popluation
How can i sort the query (probably using a subquery) such that the highest
population state and it's highest population city would be listed FIRST
followed by ALL of its cities in descending populatin order, Then the state
with the second largest population's largest city followed by ALL of it's
cities, etc...
My issue has been that when sorting DESC it is sorting all lined seperately
and spreading the State throughout.
Thanks