solidDB Help : solidDB reference : SQL: Statements : Common clauses : query‑specification
  
queryspecification
The queryspecification clause has the following syntax:
queryspecification::= SELECT [DISTINCT | ALL] selectlist tableexpression
selectlist::= * | selectsublist [{, selectsublist} …]
selectsublist::= derivedcolumn | [tablename | tableidentifier].*
derivedcolumn::= expression [[AS] columnalias]]
tableexpression::= FROM table reference list [WHERE searchcondition]
[GROUP BY columnnamelist [[UNION | INTERSECT | EXCEPT] [ALL]
[CORRESPONDING [BY (columnnamelist)] query specification]
[HAVING searchcondition]
searchcondition::= (see search‑condition)
Go up to
Common clauses