Value Expression
A value expression specifies the value returned by a particular column for each row of the query results.
A value expression can consist of the following items:
- Column Identifiers
- Functions
- Literals (For example, 1234, 'somestring')
- Expressions (For example, x+y, x AND y)
SELECT col1 AS c1 FROM mytableIf a value expression is not given a label, the entire string used to specify the value expression is used as the label as shown in the following example:
SELECT col1, col2 + col3, ‘row totals’ FROM mytableTo access the columns in the rows of the query result for the SELECT statement above, the following labels would be used: For more information about expressions, see SQL Expressions.
Copyright © Cloud Software Group, Inc. All rights reserved.