SubDistricts
5 rows where district_id = 859
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 7034 | ดอนเปา | 50360 | แม่วาง 859 |
| 7035 | ทุ่งปี้ | 50360 | แม่วาง 859 |
| 7036 | ทุ่งรวงทอง | 50360 | แม่วาง 859 |
| 7037 | บ้านกาด | 50360 | แม่วาง 859 |
| 7038 | แม่วิน | 50360 | แม่วาง 859 |
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)
);