protected function getSelectQuery(): string
    {
        return $this->type
            . ' ' . implode(', ', $this->columns)
            . ' ' . Statement::FROM
            . ' ' . $this->table
            . ' ' . $this->getWhereQuery()
            . ' ' . $this->getOrderByQuery()
            . ' ' . $this->getLimitQuery()
            . ' ' . $this->getOffsetQuery();
    }
protected function getSelectQuery(): string
    {
        return $this->type
            . ' ' . implode(', ', $this->columns)
            . ' ' . Statement::FROM
            . ' ' . $this->table
            . ' ' . $this->getWhereQuery()
            . ' ' . $this->getOrderByQuery()
            . ' ' . $this->getLimitQuery()
            . ' ' . $this->getOffsetQuery();
    }
protected function getSelectQuery ( ) : string { return $ this -> type . ' ' . implode ( ', ' , $ this -> columns ) . ' ' . Statement :: FROM . ' ' . $ this -> table . ' ' . $ this -> getWhereQuery ( ) . ' ' . $ this -> getOrderByQuery ( ) . ' ' . $ this -> getLimitQuery ( ) . ' ' . $ this -> getOffsetQuery ( ) ; }
Get a SELECT query.

@return string
Get a SELECT query .