Avoid SQL Artifacts with SQL statement using Group By clause (JEE) | CAST Appmarq