Use single quotes in SQL to avoid Pg error