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:


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


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