SubDistricts
5 rows where district_id = 476
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2141 | กำโลน | 80230 | ลานสกา 476 |
| 2142 | ขุนทะเล | 80230 | ลานสกา 476 |
| 2143 | ท่าดี | 80230 | ลานสกา 476 |
| 2144 | ลานสกา | 80230 | ลานสกา 476 |
| 2145 | เขาแก้ว | 80230 | ลานสกา 476 |
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)
);