add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
2 rows affected
2 rows affected
2 rows affected
divisions divisions2 id
{"continents": [{"id": 1, "name": "North America", "countries": [{"id": 1, "name": "USA", "subdivisions": [{"id": 1, "name": "Oregon", "type": "STATE"}]}, {"id": 2, "name": "Canada", "subdivisions": [{"id": 1, "name": "Canada", "type": "STATE"}]}]}, {"id": 2, "name": "Europe", "countries": [{"id": 1, "name": "Netherlands", "subdivisions": [{"id": 1, "name": "Zuid Holland", "type": "STATE"}]}]}]} {"continents": [{"id": 1, "name": "North America", "countries": [{"id": 1, "name": "USA", "subdivisions": [{"id": 1, "name": "Oregon", "type": "SOME_TYPE"}]}, {"id": 2, "name": "Canada", "subdivisions": [{"id": 1, "name": "Canada", "type": "SOME_TYPE"}]}]}, {"id": 2, "name": "Europe", "countries": [{"id": 1, "name": "Netherlands", "subdivisions": [{"id": 1, "name": "Zuid Holland", "type": "SOME_TYPE"}]}]}]} 1
{"continents": [{"id": 3, "name": "Asia", "countries": [{"id": 1, "name": "China", "subdivisions": [{"id": 1, "name": "China", "type": "STATE"}]}]}]} {"continents": [{"id": 3, "name": "Asia", "countries": [{"id": 1, "name": "China", "subdivisions": [{"id": 1, "name": "China", "type": "SOME_TYPE"}]}]}]} 2