Quote column name so the query works for PostgreSQL