Cant get distinct rows in a find list

You cant use a groupBy as the mysql version (NEWER) WONT allow code like this.
This is why I am asking for an alternative.
// ->group([‘Students.address_suburb’])->autoFields(true)

What type of response is this anyway?