Data source: ISO

9 rows where country_code = "SM"

View and edit SQL

Suggested facets: local_variant

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
SM SM-01* Acquaviva   it    
SM SM-02* Chiesanuova   it    
SM SM-03* Domagnano   it    
SM SM-04* Faetano   it    
SM SM-05* Fiorentino   it    
SM SM-06* Borgo Maggiore   it    
SM SM-07* Città di San Marino San Marino it    
SM SM-08* Montegiardino   it    
SM SM-09* Serravalle   it    

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