Writing Advanced Queries

  • Kathi Kellenberger


In Chapter 9 you learned about some exciting new data types that Microsoft introduced with SQL Server 2005 and 2008. In this chapter, you will learn about some of the new functions and advanced queries available with these most recent releases. For example, you will learn more about common table expressions (CTEs), how to write a pivot query, how to use the new ranking functions, and more. As a beginning T-SQL developer, you may or may not need this information right away. This chapter does not contain any exercises, but I encourage you to experiment and come up with your own examples for any of the features that you are interested in. Consider the information in this chapter as a head start in becoming an expert T-SQL developer.


Ranking Function Code Section Aggregate Query Delete Statement Pivot Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Kathi Kellenberger 2009

Authors and Affiliations

  • Kathi Kellenberger

There are no affiliations available

Personalised recommendations