SubDistricts
5 rows where district_id = 568
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6924 | บ่อแก้ว | 50250 | สะเมิง 568 |
| 6925 | ยั้งเมิน | 50250 | สะเมิง 568 |
| 6926 | สะเมิงเหนือ | 50250 | สะเมิง 568 |
| 6927 | สะเมิงใต้ | 50250 | สะเมิง 568 |
| 6928 | แม่สาบ | 50250 | สะเมิง 568 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE SubDistricts(
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
zipcode TEXT NOT NULL,
district_id INTEGER NOT NULL,
FOREIGN KEY (district_id) REFERENCES Districts(id)
);