Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Using Additional Query Techniques

Chapter 4. Using Additional Query Techniques

Within many applications you need to construct queries that go beyond a basic SELECT statement, such as creating running totals, finding gaps in sequences, traversing a recursive hierarchy, or ranking data within a set. In this chapter, you will learn how to extend the querying techniques that you have learned within this book to encompass subqueries, common table expressions (CTEs), and ranking functions.

Exam objectives in this chapter:

  • Implement subqueries.

  • Implement CTE (common table expression) queries.

  • Apply ranking functions.

Lessons in this chapter:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint