SubDistricts
7 rows where district_id = 865
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 7045 | ท่าตอน | 50280 | แม่อาย 865 |
| 7046 | บ้านหลวง | 50280 | แม่อาย 865 |
| 7047 | มะลิกา | 50280 | แม่อาย 865 |
| 7048 | สันต้นหมื้อ | 50280 | แม่อาย 865 |
| 7049 | แม่นาวาง | 50280 | แม่อาย 865 |
| 7050 | แม่สาว | 50280 | แม่อาย 865 |
| 7051 | แม่อาย | 50280 | แม่อาย 865 |
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)
);