SubDistricts
4 rows where district_id = 72
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3947 | กุดน้ำใส | 35160 | ค้อวัง 72 |
| 3948 | ค้อวัง | 35160 | ค้อวัง 72 |
| 3949 | น้ำอ้อม | 35160 | ค้อวัง 72 |
| 3950 | ฟ้าห่วน | 35160 | ค้อวัง 72 |
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)
);