Data source: ISO

22 rows where country_code = "LY"

View and edit SQL

Link country_code code_31662 name local_variant language_code romanization_system parent_subdivision
LY LY-BA* Banghāzī   ar BGN/PCGN 1956  
LY LY-BU* Al Buţnān   ar BGN/PCGN 1956  
LY LY-DR* Darnah   ar BGN/PCGN 1956  
LY LY-GT* Ghāt   ar BGN/PCGN 1956  
LY LY-JA* Al Jabal al Akhḑar   ar BGN/PCGN 1956  
LY LY-JG* Al Jabal al Gharbī   ar BGN/PCGN 1956  
LY LY-JI* Al Jafārah   ar BGN/PCGN 1956  
LY LY-JU* Al Jufrah   ar BGN/PCGN 1956  
LY LY-KF* Al Kufrah   ar BGN/PCGN 1956  
LY LY-MB* Al Marqab   ar BGN/PCGN 1956  
LY LY-MI* Mişrātah   ar BGN/PCGN 1956  
LY LY-MJ* Al Marj   ar BGN/PCGN 1956  
LY LY-MQ* Murzuq   ar BGN/PCGN 1956  
LY LY-NL* Nālūt   ar BGN/PCGN 1956  
LY LY-NQ* An Nuqāţ al Khams   ar BGN/PCGN 1956  
LY LY-SB* Sabhā   ar BGN/PCGN 1956  
LY LY-SR* Surt   ar BGN/PCGN 1956  
LY LY-TB* Ţarābulus   ar BGN/PCGN 1956  
LY LY-WA* Al Wāḩāt   ar BGN/PCGN 1956  
LY LY-WD* Wādī al Ḩayāt   ar BGN/PCGN 1956  
LY LY-WS* Wādī ash Shāţi’   ar BGN/PCGN 1956  
LY LY-ZA* Az Zāwiyah   ar BGN/PCGN 1956  

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