AstVisitor, Query, SelectCombiningQueryStep, SelectFinalStep, SelectLimitStep, SelectLockingStep, SelectOffsetStep, SelectOrderByStepSelectImplpublic interface SelectFromStep extends SelectCombiningQueryStep
FROM clause is a part of SELECT statement.| Modifier and Type | Method | Description |
|---|---|---|
SelectJoinStep |
from(java.lang.String... tables) |
Specify table name that be used to retrieve rows.
|
SelectJoinStep |
from(From... tables) |
Specify table name that be used to retrieve rows.
|
SelectJoinStep |
from(Expression... tables) |
Specify table name that be used to retrieve rows.
|
assemblebuildPreparedStatement, sqlexcept, exceptAll, intersect, intersectAll, union, unionAlllimit, limitforKeyShare, forNoKeyUpdate, forShare, forUpdateoffset, offsetorderBy, orderBy, orderBy, orderBySelectJoinStep from(java.lang.String... tables)
select("id").from("books as b")
select("id").from("books as b (id, name)")from(Expression...),
from(From...)SelectJoinStep from(Expression... tables)
Queryman.asName("books").as("b"); // books AS b
Queryman.asName("books").as("b", "id", "name"); // books AS b(id, name)
from(String...),
from(From...),
ExpressionSelectJoinStep from(From... tables)
Queryman.from("books").as("b"); // books AS b
Queryman.from("books").as("b", "id", "name"); // books AS b(id, name)
Queryman.fromOnly("books"); // ONLY books