Ordering the Display of Tuples
Next: Aggregate Operations
Up: Query-by-Example (QBE)
Previous: The Result Relation
-
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:

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

Page created and maintained by Osmar R. Zaï ane
Last Update:
Mon Oct 16 16:41:58 PDT 1995