HP Neoview SQL Reference Manual page 142

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

The SELECT statement is a DML statement that retrieves values from tables, views, derived
tables determined by the evaluation of query expressions, or joined tables.
size-and-index is:
|
SELECT [col-expr] [[ANY N] | [FIRST N]] [ALL | DISTINCT] select-list
FROM table-ref [,table-ref]...
[WHERE search-condition]
[SAMPLE sampling-method]
[TRANSPOSE transpose-set [transpose-set]...
[KEY BY key-colname]]...
[SEQUENCE BY colname [ASC[ENDING] | DESC[ENDING]]
[,colname [ASC[ENDING] | DESC[ENDING]]]...]
[GROUP BY [col-expr]col-expr {colname | colnum} [,{colname | colnum}]...]
[HAVING search-condition]
[ORDER BY {colname | colnum} [ASC[ENDING] | DESC[ENDING]]
[,{colname | colnum} [ASC[ENDING] | DESC[ENDING]]]...]
[[FOR] access-option ACCESS]
[IN {SHARE | EXCLUSIVE} MODE]
[UNION [ALL] select-stmt]
142
SQL Statements

Advertisement

Table of Contents
loading

Table of Contents