Field '<str>' (used in an OVER clause) is only defined in relation '<str>' Explanation: The OVER clause is ambiguous because the named field does not appear in two relations in the current query. User Action: Use a WITH clause to express an unambiguous query.