Skip to main content

Analytic Partitions, Ordering, and Windows

  • Chapter
  • First Online:
Practical Oracle SQL
  • 1386 Accesses

Abstract

A wise man once said in a conference presentation that if you put SQL on your resume and do not know analytic functions, you are lying. It would be similar to stating you know Windows and have never worked with a newer windows version than Windows 95. There are so many cases where analytic functions either are necessary to create a SQL solution at all or at the very least make the SQL much more performant than not using them. The fantastic bit about analytic functions is that you can retrieve or reference values across rows – you are not restricted to values in the row itself when doing calculations. You can use different subclauses of analytic functions in different combinations to achieve this. The basics of these subclauses, and how they work together, are shown in this chapter.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Kim Berg Hansen

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Berg Hansen, K. (2020). Analytic Partitions, Ordering, and Windows. In: Practical Oracle SQL. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5617-6_11

Download citation

Publish with us

Policies and ethics