SubDistricts
4 rows where district_id = 112
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 5286 | ดงตะงาว | 18210 | ดอนพุด 112 |
| 5287 | ดอนพุด | 18210 | ดอนพุด 112 |
| 5288 | บ้านหลวง | 18210 | ดอนพุด 112 |
| 5289 | ไผ่หลิ่ว | 18210 | ดอนพุด 112 |
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)
);