most famous city query SQL

Maya00432 21 Reputation points
2021-05-29T11:08:48.06+00:00

Hi all,

I tried to solve the following problem. But somehow I have one problem how do I get the most 3 populated city? Do I have to use the partition over by? If yes where exactly?

100703-image.png

100657-image.png

Developer technologies Transact-SQL
{count} votes

1 answer

Sort by: Most helpful
  1. Miguel Escobar 326 Reputation points Volunteer Moderator
    2021-09-06T02:46:44.743+00:00

    Hey!
    I've modified the tags in your post for the closest one that I could find from the list. Your original tags were related to "Power Query" and not SQL.

    You can learn more about Microsoft Power Query from the link below:
    https://learn.microsoft.com/en-us/power-query/power-query-what-is-power-query

    Best!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.