Struct SelectStatement
pub struct SelectStatement {
pub distinct: bool,
pub columns: Vec<SelectColumn>,
pub from: Option<TableRef>,
pub where_clause: Option<Expr>,
pub group_by: Vec<Expr>,
pub having: Option<Expr>,
pub order_by: Vec<OrderBy>,
pub limit: Option<Expr>,
pub offset: Option<Expr>,
}Expand description
A SELECT statement.
Whether to select DISTINCT values.
§columns: Vec<SelectColumn>The columns to select.
The FROM clause.
The WHERE clause.
GROUP BY expressions.
HAVING clause.
ORDER BY clauses.
LIMIT clause.
OFFSET clause.