[pg]: fixed in query 'where' part column name ambiguity