SubDistricts
5 rows where district_id = 425
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 7326 | ภูหอ | 42230 | ภูหลวง 425 |
| 7327 | หนองคัน | 42230 | ภูหลวง 425 |
| 7328 | ห้วยสีเสียด | 42230 | ภูหลวง 425 |
| 7329 | เลยวังไสย์ | 42230 | ภูหลวง 425 |
| 7330 | แก่งศรีภูมิ | 42230 | ภูหลวง 425 |
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)
);