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

Adicionado o campo de Capítal ao SQL para facilitar pesquisas. #22

Merged
merged 1 commit into from
Sep 30, 2018
Merged

Adicionado o campo de Capítal ao SQL para facilitar pesquisas. #22

merged 1 commit into from
Sep 30, 2018

Conversation

Otoru
Copy link
Contributor

@Otoru Otoru commented Sep 27, 2018

Apesar de parecer algo simples, a adição deste campo permite pesquisas como essa:

> select ESTADO, MUNICIPIO AS CAPITAL from MUNICIPIOS_BRASILEIROS where CAPITAL is TRUE;
+---------------------+----------------+
| ESTADO              | CAPITAL        |
+---------------------+----------------+
| Rondônia            | Porto Velho    |
| Acre                | Rio Branco     |
| Amazonas            | Manaus         |
| Roraima             | Boa Vista      |
| Pará                | Belém          |
| Amapá               | Macapá         |
| Tocantins           | Palmas         |
| Maranhão            | São Luís       |
| Piauí               | Teresina       |
| Ceará               | Fortaleza      |
| Rio Grande do Norte | Natal          |
| Paraíba             | João Pessoa    |
| Pernambuco          | Recife         |
| Alagoas             | Maceió         |
| Sergipe             | Aracaju        |
| Bahia               | Salvador       |
| Minas Gerais        | Belo Horizonte |
| Espírito Santo      | Vitória        |
| Rio de Janeiro      | Rio de Janeiro |
| São Paulo           | São Paulo      |
| Paraná              | Curitiba       |
| Santa Catarina      | Florianópolis  |
| Rio Grande do Sul   | Porto Alegre   |
| Mato Grosso do Sul  | Campo Grande   |
| Mato Grosso         | Cuiabá         |
| Goiás               | Goiânia        |
| Distrito Federal    | Brasília       |
+---------------------+----------------+

@kelvins
Copy link
Owner

kelvins commented Sep 29, 2018

Legal @Otoru, vou tentar tirar um tempo hoje para revisar o PR e dar merge. Valeu 👍

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

Successfully merging this pull request may close these issues.

2 participants