SubDistricts
4 rows where district_id = 342
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 8 | คีรีวง | 81160 | ปลายพระยา 342 |
| 9 | ปลายพระยา | 81160 | ปลายพระยา 342 |
| 10 | เขาต่อ | 81160 | ปลายพระยา 342 |
| 11 | เขาเขน | 81160 | ปลายพระยา 342 |
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)
);