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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Kim Berg Hansen
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-5617-6_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5616-9
Online ISBN: 978-1-4842-5617-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books