SubDistricts
4 rows where district_id = 321
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 6342 | นาขุม | 53180 | บ้านโคก 321 |
| 6343 | บ่อเบี้ย | 53180 | บ้านโคก 321 |
| 6344 | บ้านโคก | 53180 | บ้านโคก 321 |
| 6345 | ม่วงเจ็ดต้น | 53180 | บ้านโคก 321 |
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)
);