SubDistricts
4 rows where district_id = 239
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 5037 | ท่าช้าง | 90110 | บางกล่ำ 239 |
| 5038 | บางกล่ำ | 90110 | บางกล่ำ 239 |
| 5039 | บ้านหาร | 90110 | บางกล่ำ 239 |
| 5040 | แม่ทอม | 90110 | บางกล่ำ 239 |
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)
);