SubDistricts
3 rows where district_id = 159
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 4614 | ตะเคียนปม | 51160 | ทุ่งหัวช้าง 159 |
| 4615 | ทุ่งหัวช้าง | 51160 | ทุ่งหัวช้าง 159 |
| 4616 | บ้านปวง | 51160 | ทุ่งหัวช้าง 159 |
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)
);