How to fix Ambiguous parameter in PostgreSQL | DevErrors