public function _renderSelect(Select $select)
 {
     if ($select->getIsJoin()) {
         return $this->_renderJoin($select);
     }
     $sql = parent::_renderSelect($select);
     if (!is_null($select->getLimitStart()) || !is_null($select->getLimitCount())) {
         $sql = $this->_applyLimit($sql, $select);
     }
     return $sql;
 }