SQL1117 error means?
DISTINCT NOT ALLOWED
GROUP BY index is not allowed
HAVING is not an aggregate expression
Column function is not allowed