SubDistricts
5 rows where district_id = 158
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 5131 | ขอนคลาน | 91120 | ทุ่งหว้า 158 |
| 5132 | ทุ่งบุหลัง | 91120 | ทุ่งหว้า 158 |
| 5133 | ทุ่งหว้า | 91120 | ทุ่งหว้า 158 |
| 5134 | นาทอน | 91120 | ทุ่งหว้า 158 |
| 5135 | ป่าแก่บ่อหิน | 91120 | ทุ่งหว้า 158 |
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)
);