Muutke küpsiste eelistusi

E-raamat: T-SQL Window Functions: For data analysis and beyond

  • Formaat: 352 pages
  • Sari: Developer Reference
  • Ilmumisaeg: 18-Oct-2019
  • Kirjastus: Addison Wesley
  • Keel: eng
  • ISBN-13: 9780135861639
  • Formaat - PDF+DRM
  • Hind: 28,07 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 352 pages
  • Sari: Developer Reference
  • Ilmumisaeg: 18-Oct-2019
  • Kirjastus: Addison Wesley
  • Keel: eng
  • ISBN-13: 9780135861639

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Use window functions to write simpler, better, more efficient T-SQL queries

 Most T-SQL developers recognize the value of window functions for data analysis calculations. But they can do far more, and recent optimizations make them even more powerful. In T-SQL Window Functions, renowned T-SQL expert Itzik Ben-Gan introduces breakthrough techniques for using them to handle many common T-SQL querying tasks with unprecedented elegance and power. Using extensive code examples, he guides you through window aggregate, ranking, distribution, offset, and ordered set functions. You’ll find a detailed section on optimization, plus an extensive collection of business solutions — including novel techniques available in no other book.

 

Microsoft MVP Itzik Ben-Gan shows how to:

• Use window functions to improve queries you previously built with predicates

• Master essential SQL windowing concepts, and efficiently design window functions

• Effectively utilize partitioning, ordering, and framing

• Gain practical in-depth insight into window aggregate, ranking, offset, and statistical functions

• Understand how the SQL standard supports ordered set functions, and find working solutions for functions not yet available in the language

• Preview advanced Row Pattern Recognition (RPR) data analysis techniques

• Optimize window functions in SQL Server and Azure SQL Database, making the most of indexing, parallelism, and more

• Discover a full library of window function solutions for common business problems

 

About This Book

• For developers, DBAs, data analysts, data scientists, BI professionals, and power users familiar with T-SQL queries

• Addresses any edition of the SQL Server 2019 database engine or later, as well as Azure SQL Database

 

Get all code samples at:

MicrosoftPressStore.com/TSQLWindowFunctions/downloads 

About the Author ix
Introduction xi
Chapter 1 SQL Windowing
1(36)
Evolution of Window Functions
2(1)
Background of Window Functions
3(14)
A Glimpse of Solutions Using Window Functions
17(4)
Elements of Window Functions
21(5)
Query Elements Supporting Window Functions
26(7)
Potential for Additional Filters
33(1)
Reuse of Window Definitions
34(1)
Summary
35(2)
Chapter 2 A Detailed Look at Window Functions
37(66)
Window Aggregate Functions
37(34)
Ranking Functions
71(13)
Statistical Functions
84(6)
Offset Functions
90(11)
Summary
101(2)
Chapter 3 Ordered Set Functions
103(20)
Hypothetical Set Functions
104(8)
Inverse Distribution Functions
112(4)
Offset Functions
116(5)
String Concatenation
121(1)
Summary
122(1)
Chapter 4 Row-Pattern Recognition in SQL
123(46)
Background
123(2)
Feature R010, "Row-Pattern Recognition: FROM Clause"
125(25)
Feature R020, "Row-Pattern Recognition: WINDOW Clause"
150(3)
Solutions Using Row-Pattern Recognition
153(15)
Summary
168(1)
Chapter 5 Optimization of Window Functions
169(58)
Sample Data
170(2)
Indexing Guidelines
172(7)
Emulating NULLS LAST Efficiently
179(4)
Improved Parallelism with APPLY
183(3)
Batch-Mode Processing
186(10)
Ranking Functions
196(6)
Aggregate and Offset Functions
202(17)
Distribution Functions
219(7)
Summary
226(1)
Chapter 6 T-SQL Solutions Using Window Functions
227(84)
Virtual Auxiliary Table of Numbers
228(3)
Sequences of Date and Time Values
231(2)
Sequences of Keys
233(5)
Paging
238(2)
Removing Duplicates
240(3)
Pivoting
243(3)
TOP N per Group
246(4)
Emulating IGNORE NULLS to Get the Last Non-NULL
250(5)
Mode
255(4)
Trimmed Mean
259(1)
Running Totals
260(14)
Max Concurrent Intervals
274(10)
Packing Intervals
284(9)
Gaps and Islands
293(8)
Median
301(3)
Conditional Aggregate
304(2)
Sorting Hierarchies
306(5)
Summary 311(2)
Index 313
Itzik Ben-Gan is a mentor and co-founder of SolidQ and has been a data platform Microsoft MVP (Most Valuable Professional) since 1999. Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning, and Programming. Itzik is the author of several books including T-SQL Fundamentals and T-SQL Querying. He has written articles for SentryOnes sqlperformance.com, ITProToday, and SolidQ. Itziks speaking activities include PASS Summit, SQLBits, and various events and user groups around the world. Itzik is the author of SolidQs Advanced T-SQL Querying, Programming, and Tuning and T-SQL Fundamentals courses, and he is a primary resource within the company for their T-SQLrelated activities.