Display labels
You can assign a display label to a computed
or derived data column to replace the default column header expression.
In Query, Query, and Query, the derived data appears
in the expression column. The following query also presents
derived values, but the column that displays the derived values has
the descriptive header taxed.
The result shows that the label taxed is assigned
to the expression in the projection list that displays the results
of the operation
unit_price * 1.07
. In the following query, the label surcharge is
defined for the column that displays the results of the operation
total_price
+ 6.50
. The surcharge column is labeled in the output.
The following query assigns the label span to the
column that displays the results of subtracting the DATETIME column call_dtime from
the DATETIME column res_dtime.
The span column is labeled in the output.