SubDistricts
5 rows where district_id = 14
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 4011 | กะเปอร์ | 85120 | กะเปอร์ 14 |
| 4012 | บางหิน | 85120 | กะเปอร์ 14 |
| 4013 | บ้านนา | 85120 | กะเปอร์ 14 |
| 4014 | ม่วงกลวง | 85120 | กะเปอร์ 14 |
| 4015 | เชี่ยวเหลียง | 85120 | กะเปอร์ 14 |
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)
);