SubDistricts
4 rows where district_id = 320
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 604 | บ้านแฮด | 40110 | บ้านแฮด 320 |
| 605 | หนองแซง | 40110 | บ้านแฮด 320 |
| 606 | โคกสำราญ | 40110 | บ้านแฮด 320 |
| 607 | โนนสมบูรณ์ | 40110 | บ้านแฮด 320 |
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)
);