Sorting and Grouping Query Results (Visual Database Tools)
You can create a query result in which each result row corresponds to an entire group of rows from the original data.
To learn the details about creating such queries, see the topics listed in the following table.
In This Section
- Sorting Rows (Visual Database Tools)
Describes the various ways in which you can sort rows and why you would use them.
- Collapsing Groups of Rows (Visual Database Tools)
Describes the various ways to collapse rows, such as calculating or eliminating duplicates.
- How to: Sort with ORDER BY (Visual Database Tools)
Provides steps for returning results in a specified order.
- How to: Sort in Ascending or Descending Order (Visual Database Tools)
Provides steps for changing or setting sort direction.
- How to: Sort Multiple Columns in Queries (Visual Database Tools)
Provides steps for setting the order of results sets for multiple columns.
- How to: Group Rows in Query Results (Visual Database Tools)
Provides steps for creating subsets of summary information by organizing data into groups.
- How to: Specify Conditions for Groups (Visual Database Tools)
Provides steps for creating search conditions that apply to groups of rows.
- How to: Reorder Output Columns (Visual Database Tools)
Provides steps for changing current sorting settings.
Related Sections
- Summarizing Query Results (Visual Database Tools)
Provides links to topics on summarizing query results.
- Performing Basic Operations with Queries (Visual Database Tools)
Provides links to topics covering the most common query tasks.
- Designing Queries and Views (Visual Database Tools)
Provides links to topics covering how to use the Query and View Designer.