added !bestgroup command, adjusted getItems* sql statements