Skip to main content

Grouping and Summarizing Data

  • Chapter
Beginning T-SQL 2008
  • 500 Accesses

Abstract

So far, you have learned to write simple queries that include filtering and ordering. You can also work with expressions built with operators and functions. The previous chapter taught you how to write queries with multiple tables so that the data makes sense in applications and reports. Now it is time to learn about a special type of query, aggregate queries, used to group and summarize data. You may find that writing aggregate queries is more challenging than the other queries you have learned so far, but by taking a step-by-step approach, you will realize that they are not difficult to write at all. Be sure to take the time to understand the examples and complete all the exercises before moving on to the next section.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Kathi Kellenberger

About this chapter

Cite this chapter

Kellenberger, K. (2009). Grouping and Summarizing Data. In: Beginning T-SQL 2008. Apress. https://doi.org/10.1007/978-1-4302-2462-4_5

Download citation

Publish with us

Policies and ethics