/** * @param string $sWhere * @return string */ protected function getGroupByWhere($sWhere) { return parent::getGroupByWhere($sWhere) . ' LIMIT 1'; }