Avoid using GROUP BY in SQL statement (EGL) | CAST Appmarq