SubDistricts
7 rows where district_id = 860
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6857 | ท่าก๊อ | 57180 | แม่สรวย 860 |
| 6858 | ป่าแดด | 57180 | แม่สรวย 860 |
| 6859 | วาวี | 57180 | แม่สรวย 860 |
| 6860 | ศรีถ้อย | 57180 | แม่สรวย 860 |
| 6861 | เจดีย์หลวง | 57180 | แม่สรวย 860 |
| 6862 | แม่พริก | 57180 | แม่สรวย 860 |
| 6863 | แม่สรวย | 57180 | แม่สรวย 860 |
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)
);