
Output 2.10 Referring to a Calculated Column by Alias
Note: Because this query sets a numeric format of 4.1 on the HighC, LowC, and Range
columns, the values in those columns are rounded to the nearest tenth. As a result of
the rounding, some of the values in the HighC and LowC columns do not reflect the
range value output for the Range column. When you round numeric data values, this
type of error sometimes occurs. If you want to avoid this problem, then you can
specify additional decimal places in the format.
For more information, see “Using Column Aliases” on page 146.
Assigning Values Conditionally
Using a Simple CASE Expression
CASE expressions ...