SubDistricts
3 rows where district_id = 103
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2056 | ช้างกลาง | 80250 | ช้างกลาง 103 |
| 2057 | สวนขัน | 80250 | ช้างกลาง 103 |
| 2058 | หลักช้าง | 80250 | ช้างกลาง 103 |
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)
);