Avoid Functions/Procedures with SQL statement using Group By clause (PL/SQL Oracle) | CAST Appmarq