Data source: ISO

11 rows where country_code = "WS"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
WS WS-AA* A'ana   sm    
WS WS-AL* Aiga-i-le-Tai   sm    
WS WS-AT* Atua   sm    
WS WS-FA* Fa'asaleleaga   sm    
WS WS-GE* Gaga'emauga   sm    
WS WS-GI* Gagaifomauga   sm    
WS WS-PA* Palauli   sm    
WS WS-SA* Satupa'itea   sm    
WS WS-TU* Tuamasaga   sm    
WS WS-VF* Va'a-o-Fonoti   sm    
WS WS-VS* Vaisigano   sm    

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