Everything's Not Fine
Liquid error: Incorrect syntax near 's'.
Unclosed quotation mark after the character string '
)
) AS cci GROUP BY grp
'.
Liquid error: No parameters were found in your command. The syntax for a parameter is parmName:'' (note that you must use single quotes).