The
following query uses a literal in the projection list to tag the output
of part of a union so it can be distinguished later. The tag is given
the label sortkey. The query uses sortkey to order the
retrieved rows.
The query creates a list in which the customers from
California appear first.