Sorting a Result
Names, ages of Sailors, sorted by name: SELECT sname, age FROM Sailors ORDER BY sname
Same, ordered by age within a name: SELECT sname, age FROM Sailors ORDER BY sname, age
ORDER BY clause evaluated last
Previous slide
Next slide
Back to first slide
View graphic version