SubDistricts
4 rows where district_id = 154
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6187 | ทุ่งฝน | 41310 | ทุ่งฝน 154 |
| 6188 | ทุ่งใหญ่ | 41310 | ทุ่งฝน 154 |
| 6189 | นาชุมแสง | 41310 | ทุ่งฝน 154 |
| 6190 | นาทม | 41310 | ทุ่งฝน 154 |
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)
);