by matteote · 4y ago · 0 comments
I wonder how it is expected to work with non-table references (views, CTEs, subqueries), especially when the columns involved in the foreign key (on either side) are not returned explicitly by the referenced object.
It’s not, it’s only for the special but common case of joining two tables based on a foreign key.