SubDistricts
5 rows where district_id = 410
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2130 | กะทูน | 80270 | พิปูน 410 |
| 2131 | ควนกลาง | 80270 | พิปูน 410 |
| 2132 | พิปูน | 80270 | พิปูน 410 |
| 2133 | ยางค้อม | 80270 | พิปูน 410 |
| 2134 | เขาพระ | 80270 | พิปูน 410 |
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)
);