If I have an expression like
SELECT t.json_column->>'x',
nested->>'y'
FROM my_table t,
json_array_elements(t->'nested') nested
Why don't I need a JOIN? More precisely, why does this not act as Cartesian CROSS JOIN?
It appears that the join is implicit, referring to the table alias tin the call json_array_elements. But the implicit-join syntax with the table function is unfamiliar to me.
Are there other examples of similar SQL syntax in PostgreSQL or other databases?
source
share