Column 'XXX' in where clause is ambiguous

NoSuchKey