private function getSelectQuery()
	{
		$result = $this->getSelectClause();

		if ($join = $this->getJoinClause()) {
			$result .= ' ' . $join;
		}

		if ($where = $this->getWhereClause()) {
			$result .= ' ' . $where;
		}

		if ($groupBy = $this->getGroupByClause()) {
			$result .= ' ' . $groupBy;
		}

		if ($orderBy = $this->getOrderByClause()) {
			$result .= ' ' . $orderBy;
		}

		if ($limit = $this->getLimitClause()) {
			$result .= ' ' . $limit;
		}

		if ($offset = $this->getOffsetClause()) {
			$result .= ' ' . $offset;
		}

		return $result;
	}
private function getSelectQuery()
	{
		$result = $this->getSelectClause();

		if ($join = $this->getJoinClause()) {
			$result .= ' ' . $join;
		}

		if ($where = $this->getWhereClause()) {
			$result .= ' ' . $where;
		}

		if ($groupBy = $this->getGroupByClause()) {
			$result .= ' ' . $groupBy;
		}

		if ($orderBy = $this->getOrderByClause()) {
			$result .= ' ' . $orderBy;
		}

		if ($limit = $this->getLimitClause()) {
			$result .= ' ' . $limit;
		}

		if ($offset = $this->getOffsetClause()) {
			$result .= ' ' . $offset;
		}

		return $result;
	}
private function getSelectQuery ( ) { $ result = $ this -> getSelectClause ( ) ; if ( $ join = $ this -> getJoinClause ( ) ) { $ result .= ' ' . $ join ; } if ( $ where = $ this -> getWhereClause ( ) ) { $ result .= ' ' . $ where ; } if ( $ groupBy = $ this -> getGroupByClause ( ) ) { $ result .= ' ' . $ groupBy ; } if ( $ orderBy = $ this -> getOrderByClause ( ) ) { $ result .= ' ' . $ orderBy ; } if ( $ limit = $ this -> getLimitClause ( ) ) { $ result .= ' ' . $ limit ; } if ( $ offset = $ this -> getOffsetClause ( ) ) { $ result .= ' ' . $ offset ; } return $ result ; }
Returns the select query.

@return string the select query.
Returns the select query .