SubDistricts
5 rows where district_id = 128
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6319 | ข่อยสูง | 53140 | ตรอน 128 |
| 6320 | น้ำอ่าง | 53140 | ตรอน 128 |
| 6321 | บ้านแก่ง | 53140 | ตรอน 128 |
| 6322 | วังแดง | 53140 | ตรอน 128 |
| 6323 | หาดสองแคว | 53140 | ตรอน 128 |
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)
);