SubDistricts
4 rows where district_id = 312
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2484 | บ้านพี้ | 55190 | บ้านหลวง 312 |
| 2485 | บ้านฟ้า | 55190 | บ้านหลวง 312 |
| 2486 | ป่าคาหลวง | 55190 | บ้านหลวง 312 |
| 2487 | สวด | 55190 | บ้านหลวง 312 |
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)
);