SubDistricts
6 rows where district_id = 31
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 2856 | กุยบุรี | 77150 | กุยบุรี 31 |
| 2857 | กุยเหนือ | 77150 | กุยบุรี 31 |
| 2858 | ดอนยายหนู | 77150 | กุยบุรี 31 |
| 2859 | สามกระทาย | 77150 | กุยบุรี 31 |
| 2860 | หาดขาม | 77150 | กุยบุรี 31 |
| 2861 | เขาแดง | 77150 | กุยบุรี 31 |
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)
);