By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
place_name | id | parent_id | level |
---|---|---|---|
Europe | 18 | null | 1 |
Germany | 9 | 18 | 2 |
Berlin | 2 | 9 | 3 |
Frankfurt | 4 | 9 | 3 |
place_name | id | parent_id | level |
---|---|---|---|
Europe | 18 | null | 1 |
Germany | 9 | 18 | 2 |
Berlin | 2 | 9 | 3 |
Frankfurt | 4 | 9 | 3 |