SubDistricts
5 rows where district_id = 12
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 3367 | กะปง | 82170 | กะปง 12 |
| 3368 | ท่านา | 82170 | กะปง 12 |
| 3369 | รมณีย์ | 82170 | กะปง 12 |
| 3370 | เหมาะ | 82170 | กะปง 12 |
| 3371 | เหล | 82170 | กะปง 12 |
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)
);