Remove unnecessary group by all columns

Signed-off-by: João Soares <jsoaresgeral@gmail.com>