SubDistricts
3 rows where district_id = 56
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 5124 | ควนกาหลง | 91130 | ควนกาหลง 56 |
| 5125 | ทุ่งนุ้ย | 91130 | ควนกาหลง 56 |
| 5126 | อุไดเจริญ | 91130 | ควนกาหลง 56 |
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)
);