SubDistricts
7 rows where district_id = 8
This data as json, CSV (advanced)
| id ▼ | name | zipcode | district_id |
|---|---|---|---|
| 4004 | จ.ป.ร. | 85110 | กระบุรี 8 |
| 4005 | น้ำจืด | 85110 | กระบุรี 8 |
| 4006 | น้ำจืดน้อย | 85110 | กระบุรี 8 |
| 4007 | บางใหญ่ | 85110 | กระบุรี 8 |
| 4008 | ปากจั่น | 85110 | กระบุรี 8 |
| 4009 | มะมุ | 85110 | กระบุรี 8 |
| 4010 | ลำเลียง | 85110 | กระบุรี 8 |
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)
);