SubDistricts
3 rows where district_id = 19
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6872 | บ้านจันทร์ | 58130 | กัลยาณิวัฒนา 19 |
| 6873 | แจ่มหลวง | 58130 | กัลยาณิวัฒนา 19 |
| 6874 | แม่แดด | 58130 | กัลยาณิวัฒนา 19 |
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)
);