Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due to same town.name some town.ids have same population #45

Open
alexeyknyshev opened this issue May 6, 2016 · 0 comments
Open

Due to same town.name some town.ids have same population #45

alexeyknyshev opened this issue May 6, 2016 · 0 comments
Assignees

Comments

@alexeyknyshev
Copy link
Owner

Looks like we need some sort of manual processing. Please determine which one is real (by coords for example) and set population to NULL for others.

SELECT name, population, COUNT(*) count FROM towns
WHERE population IS NOT NULL GROUP BY name HAVING count > 1 ORDER BY population DESC;

We are interested to do manual processing for towns with population > 50k.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants