Data source: ISO

8 rows where country_code = "SK"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
SK SK-BC Banskobystrický kraj   sk    
SK SK-BL Bratislavský kraj   sk    
SK SK-KI Košický kraj   sk    
SK SK-NI Nitriansky kraj   sk    
SK SK-PV Prešovský kraj   sk    
SK SK-TA Trnavský kraj   sk    
SK SK-TC Trenčiansky kraj   sk    
SK SK-ZI Žilinský kraj   sk    

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