SubDistricts
5 rows where district_id = 29
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3691 | กุดรัง | 44130 | กุดรัง 29 |
| 3692 | นาโพธิ์ | 44130 | กุดรัง 29 |
| 3693 | หนองแวง | 44130 | กุดรัง 29 |
| 3694 | ห้วยเตย | 44130 | กุดรัง 29 |
| 3695 | เลิงแฝก | 44130 | กุดรัง 29 |
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)
);