SubDistricts
4 rows where district_id = 581
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 424 | คำสร้างเที่ยง | 46180 | สามชัย 581 |
| 425 | สำราญ | 46180 | สามชัย 581 |
| 426 | สำราญใต้ | 46180 | สามชัย 581 |
| 427 | หนองช้าง | 46180 | สามชัย 581 |
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)
);