Grouping and Ordering Query Results

From InterBase
Jump to: navigation, search

Rows are not stored in any particular order in a database. So when you execute a query, you may find that the results are not organized in any useful way. The ORDER BY clause lets you specify how the returned rows should be ordered. You can use the GROUP BY clause to group the results of aggregate functions.

Advance To:

Using ORDER BY to Arrange Rows