Data source: ISO

27 rows where country_code = "BR"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
BR BR-AC Acre   pt    
BR BR-AL Alagoas   pt    
BR BR-AM Amazonas   pt    
BR BR-AP Amapá   pt    
BR BR-BA Bahia   pt    
BR BR-CE Ceará   pt    
BR BR-DF Distrito Federal   pt    
BR BR-ES Espírito Santo   pt    
BR BR-GO Goiás   pt    
BR BR-MA Maranhão   pt    
BR BR-MG Minas Gerais   pt    
BR BR-MS Mato Grosso do Sul   pt    
BR BR-MT Mato Grosso   pt    
BR BR-PA Pará   pt    
BR BR-PB Paraíba   pt    
BR BR-PE Pernambuco   pt    
BR BR-PI Piauí   pt    
BR BR-PR Paraná   pt    
BR BR-RJ Rio de Janeiro   pt    
BR BR-RN Rio Grande do Norte   pt    
BR BR-RO Rondônia   pt    
BR BR-RR Roraima   pt    
BR BR-RS Rio Grande do Sul   pt    
BR BR-SC Santa Catarina   pt    
BR BR-SE Sergipe   pt    
BR BR-SP São Paulo   pt    
BR BR-TO Tocantins   pt    

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE subdivisions (
    country_code text NOT NULL
    , code_31662 text NOT NULL
    , name text
    , local_variant text
    , language_code text
    , romanization_system text
    , parent_subdivision text
    , PRIMARY KEY (country_code , code_31662)
    , FOREIGN KEY (country_code) REFERENCES countries (alpha_2_code) ON DELETE CASCADE
    , FOREIGN KEY (language_code) REFERENCES languages (alpha_2_code) ON DELETE CASCADE
);