SubDistricts
5 rows where district_id = 767
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 4560 | ทุ่งกว๋าว | 52240 | เมืองปาน 767 |
| 4561 | บ้านขอ | 52240 | เมืองปาน 767 |
| 4562 | หัวเมือง | 52240 | เมืองปาน 767 |
| 4563 | เมืองปาน | 52240 | เมืองปาน 767 |
| 4564 | แจ้ซ้อน | 52240 | เมืองปาน 767 |
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)
);