SubDistricts
5 rows where district_id = 317
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3192 | คลองน้อย | 13240 | บ้านแพรก 317 |
| 3193 | บ้านแพรก | 13240 | บ้านแพรก 317 |
| 3194 | บ้านใหม่ | 13240 | บ้านแพรก 317 |
| 3195 | สองห้อง | 13240 | บ้านแพรก 317 |
| 3196 | สำพะเนียง | 13240 | บ้านแพรก 317 |
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)
);