SubDistricts
6 rows where district_id = 870
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3361 | บ้านเหล่า | 56130 | แม่ใจ 870 |
| 3362 | ป่าแฝก | 56130 | แม่ใจ 870 |
| 3363 | ศรีถ้อย | 56130 | แม่ใจ 870 |
| 3364 | เจริญราษฎร์ | 56130 | แม่ใจ 870 |
| 3365 | แม่สุก | 56130 | แม่ใจ 870 |
| 3366 | แม่ใจ | 56130 | แม่ใจ 870 |
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)
);