SubDistricts
4 rows where district_id = 33
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6183 | คอนสาย | 41130 | กู่แก้ว 33 |
| 6184 | ค้อใหญ่ | 41130 | กู่แก้ว 33 |
| 6185 | บ้านจีต | 41130 | กู่แก้ว 33 |
| 6186 | โนนทองอินทร์ | 41130 | กู่แก้ว 33 |
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)
);