Ordering the Display of Tuples
Next:
Aggregate Functions
Up:
SQL
Previous:
Testing for Empty
Ordering the Display of Tuples
SQL allows the user to control the order in which tuples are displayed.
order by
makes tuples appear in sorted order.
desc
specifies descending order.
asc
specifies ascending order.
Sorting can be costly, and should only be done when needed.
Page created and maintained by
Osmar R. Zaï ane
Last Update: Mon Oct 16 16:41:58 PDT 1995