next up previous
Next: Aggregate Operations Up: Query-by-Example (QBE) Previous: The Result Relation

Ordering the Display of Tuples

  1. The order in which tuples are displayed can be controlled by adding the command AO. (ascending order) or DO. (descending order) to the print command:

    [画像:tabular213]

  2. To sort first by name, and then by balance for those with multiple accounts:

    [画像:tabular221]



Osmar Zaiane
Tue Jun 9 14:17:04 PDT 1998

AltStyle によって変換されたページ (->オリジナル) /