Data source: ISO

34 rows where country_code = "AF"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
AF AF-BAL* Balkh   ps BGN/PCGN 2007  
AF AF-BAM* Bāmyān   ps BGN/PCGN 2007  
AF AF-BDG* Bādghīs   ps BGN/PCGN 2007  
AF AF-BDS* Badakhshān   ps BGN/PCGN 2007  
AF AF-BGL* Baghlān   ps BGN/PCGN 2007  
AF AF-DAY* Dāykundī   ps BGN/PCGN 2007  
AF AF-FRA* Farāh   ps BGN/PCGN 2007  
AF AF-FYB* Fāryāb   ps BGN/PCGN 2007  
AF AF-GHA* Ghaznī   ps BGN/PCGN 2007  
AF AF-GHO* Ghōr   ps BGN/PCGN 2007  
AF AF-HEL* Helmand   ps BGN/PCGN 2007  
AF AF-HER* Herāt   ps BGN/PCGN 2007  
AF AF-JOW* Jowzjān   ps BGN/PCGN 2007  
AF AF-KAB* Kābul   ps BGN/PCGN 2007  
AF AF-KAN* Kandahār   ps BGN/PCGN 2007  
AF AF-KAP* Kāpīsā   ps BGN/PCGN 2007  
AF AF-KDZ* Kunduz   ps BGN/PCGN 2007  
AF AF-KHO* Khōst   ps BGN/PCGN 2007  
AF AF-KNR* Kunaṟ   ps BGN/PCGN 2007  
AF AF-LAG* Laghmān   ps BGN/PCGN 2007  
AF AF-LOG* Lōgar   ps BGN/PCGN 2007  
AF AF-NAN* Nangarhār   ps BGN/PCGN 2007  
AF AF-NIM* Nīmrōz   ps BGN/PCGN 2007  
AF AF-NUR* Nūristān   ps BGN/PCGN 2007  
AF AF-PAN* Panjshayr   ps BGN/PCGN 2007  
AF AF-PAR* Parwān   ps BGN/PCGN 2007  
AF AF-PIA* Paktiyā   ps BGN/PCGN 2007  
AF AF-PKA* Paktīkā   ps BGN/PCGN 2007  
AF AF-SAM* Samangān   ps BGN/PCGN 2007  
AF AF-SAR* Sar-e Pul   ps BGN/PCGN 2007  
AF AF-TAK* Takhār   ps BGN/PCGN 2007  
AF AF-URU* Uruzgān   ps BGN/PCGN 2007  
AF AF-WAR* Wardak   ps BGN/PCGN 2007  
AF AF-ZAB* Zābul   ps BGN/PCGN 2007  

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