SubDistricts
6 rows where district_id = 864
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 7039 | ทาเหนือ | 50130 | แม่ออน 864 |
| 7040 | บ้านสหกรณ์ | 50130 | แม่ออน 864 |
| 7041 | ห้วยแก้ว | 50130 | แม่ออน 864 |
| 7042 | ออนกลาง | 50130 | แม่ออน 864 |
| 7043 | ออนเหนือ | 50130 | แม่ออน 864 |
| 7044 | แม่ทา | 50130 | แม่ออน 864 |
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)
);