Removed group by clause from other group query
SQLFunctions setup now takes a default parameter