How to fix ERROR: ambiguous_parameter in PostgreSQL | DevErrors