SubDistricts
5 rows where district_id = 601
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2424 | ภูเขาทอง | 96190 | สุคิริน 601 |
| 2425 | มาโมง | 96190 | สุคิริน 601 |
| 2426 | ร่มไทร | 96190 | สุคิริน 601 |
| 2427 | สุคิริน | 96190 | สุคิริน 601 |
| 2428 | เกียร์ | 96190 | สุคิริน 601 |
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)
);