Data source: ISO

12 rows where country_code = "BJ"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
BJ BJ-AK* Atacora   fr    
BJ BJ-AL* Alibori   fr    
BJ BJ-AQ* Atlantique   fr    
BJ BJ-BO* Borgou   fr    
BJ BJ-CO* Collines   fr    
BJ BJ-DO* Donga   fr    
BJ BJ-KO* Couffo   fr    
BJ BJ-LI* Littoral   fr    
BJ BJ-MO* Mono   fr    
BJ BJ-OU* Ouémé   fr    
BJ BJ-PL* Plateau   fr    
BJ BJ-ZO* Zou   fr    

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
);