SubDistricts
6 rows where district_id = 120
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6899 | ดอยเต่า | 50260 | ดอยเต่า 120 |
| 6900 | ท่าเดื่อ | 50260 | ดอยเต่า 120 |
| 6901 | บงตัน | 50260 | ดอยเต่า 120 |
| 6902 | บ้านแอ่น | 50260 | ดอยเต่า 120 |
| 6903 | มืดกา | 50260 | ดอยเต่า 120 |
| 6904 | โปงทุ่ง | 50260 | ดอยเต่า 120 |
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)
);