How do I escape the column name 'group'? Grafana is using this as a filtering keyword rather than the column name.
If you put double quotes around the group in the where clause, it fixes the issue.