Grouping SQL Results

Group SQL result sets in the Result tab of SQL Results view.

  1. Execute your SQL query or procedural object.
  2. In the Results n tab of the SQL Results view, click on a result column name to arrange the results in ascending or descending order for that column.

    An arrow appears next to the column name. If the arrow points down, the results are arranged in descending order by the results values in that column. If the arrow points up, the results are in ascending order.

Related concepts
SQL Results View
SQL Results History
Related tasks
Viewing SQL Results
Removing Results from SQL Results View
Searching SQL Results
Terminating Execution of Procedural Objects and SQL Statements
Filtering SQL Results History
Saving a SQL Result History
Related reference
SQL Results History Fields
SQL Results History Save Options

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com