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

Lat e Long sbagliata per comuni con nome uguali su MySQL #3

Open
fabiomaffioletti opened this issue Apr 13, 2017 · 0 comments
Open

Comments

@fabiomaffioletti
Copy link

select count(*) as c, nome from comuni group by nome having c > 1 order by c desc;

select * from comuni where nome in ("Cagno",
"Calliano",
"Livo",
"Samone",
"Peglio",
"Castro",
"Paterno",
"Valverde",
"San Teodoro") order by nome desc;


select c.* from comuni c inner join province p on c.id_provincia = p.id where c.nome = "Castro" limit 10;

La stessa lat e long è associata ad entrambi i comuni.

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

No branches or pull requests

1 participant