SubDistricts
5 rows where district_id = 847
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2549 | น้ำปาย | 55170 | แม่จริม 847 |
| 2550 | น้ำพาง | 55170 | แม่จริม 847 |
| 2551 | หนองแดง | 55170 | แม่จริม 847 |
| 2552 | หมอเมือง | 55170 | แม่จริม 847 |
| 2553 | แม่จริม | 55170 | แม่จริม 847 |
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)
);