SubDistricts
6 rows where district_id = 708
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2515 | พญาแก้ว | 55160 | เชียงกลาง 708 |
| 2516 | พระธาตุ | 55160 | เชียงกลาง 708 |
| 2517 | พระพุทธบาท | 55160 | เชียงกลาง 708 |
| 2518 | เชียงกลาง | 55160 | เชียงกลาง 708 |
| 2519 | เชียงคาน | 55160 | เชียงกลาง 708 |
| 2520 | เปือ | 55160 | เชียงกลาง 708 |
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)
);