SubDistricts
5 rows where district_id = 421
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3328 | ทุ่งกล้วย | 56110 | ภูซาง 421 |
| 3329 | ป่าสัก | 56110 | ภูซาง 421 |
| 3330 | ภูซาง | 56110 | ภูซาง 421 |
| 3331 | สบบง | 56110 | ภูซาง 421 |
| 3332 | เชียงแรง | 56110 | ภูซาง 421 |
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)
);