private function _prepareHaving()
	{
		$sQuery = '';

		if (is_array($this->_aHaving) && count($this->_aHaving) > 0) {

			$sQuery .= ' HAVING ';

			foreach ($this->_aHaving as $sKey => $sValue) {

				$sQuery .= "".$sKey." = '".str_replace("'", "\'", $sValue)."' && ";
			}

			$sQuery = substr($sQuery, 0, -3);
		}
		else if ($this->_aHaving instanceof Where) {

			$sQuery .= ' HAVING 1 '.$this->_aHaving->get();
		}

		return $sQuery;
	}