SubDistricts
5 rows where district_id = 387
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 1863 | ทัพรั้ง | 30220 | พระทองคำ 387 |
| 1864 | พังเทียม | 30220 | พระทองคำ 387 |
| 1865 | มาบกราด | 30220 | พระทองคำ 387 |
| 1866 | สระพระ | 30220 | พระทองคำ 387 |
| 1867 | หนองหอย | 30220 | พระทองคำ 387 |
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)
);