Domanda di colloquio di ActionIQ

Basic coding question -- how do you do "group by" operations?