Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries
Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhanc...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Buch |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Kellenberger, Kathi Groom, Clayton Pollack, Ed |
description | Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019. Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your querieswill run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.What You Will LearnSolve complex query problems without cumbersome self-joins that run slowly and are difficult to readCreate sliding windows in a result set for computing such as running totals and moving averagesReturn aggregate and detail data simultaneously from the same SELECT statementCompute lag and lead and other values that access data from multiple rows in a result setUnderstand the OVER clause syntax and how to control the windowAvoid framing errors that can lead to unexpected resultsWho This Book Is For Anyone who writes T-SQL queries, including database administrators, developers, business analysts, and data scientists. Before reading this book, you should understand how to join tables, write WHERE clauses, and build aggregate queries. |
doi_str_mv | 10.1007/978-1-4842-5197-3 |
format | Book |
fullrecord | <record><control><sourceid>proquest_askew</sourceid><recordid>TN_cdi_askewsholts_vlebooks_9781484251973</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>EBC5966664</sourcerecordid><originalsourceid>FETCH-LOGICAL-a25729-8a9194f434b97b6715759c39dc4d18ec96d751d0002dc69b9610707b78f577e33</originalsourceid><addsrcrecordid>eNplkE1LAzEQhiOiqLU_wNseBPEQm0k2mc1RS6tCQaRFj2E_srp22a3JtvXn27gVBE_DO_O880XIBbAbYAxHGhMKNE5iTiVopOKAnEGQQbFDMtwBv1qp410RuOKgkKsTMvT-gzHGudBCylPCJl8r67poQefPs-i1aop2G03XTd5VbeOjqolCfm7dxrqIM9Dn5KhMa2-H-zggL9PJYvxAZ0_3j-PbGU25RK5pkmrQcRmLONOYKQSJUudCF3lcQGJzrQqUUIRdilzpTCtgyDDDpJSIVogBue4bp35pt_69rTtvNrXN2nbpzZ8bMbCjnvUrVzVv1pmeAmbCywJtwATeBIMJjsu9Iy1TV-35Df_X-KrHVq79XFvfmZ_5uW06l9ZmcjeWux8rFYtvdodurg</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>book</recordtype><pqid>EBC5966664</pqid></control><display><type>book</type><title>Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries</title><source>O'Reilly Online Learning: Academic/Public Library Edition</source><creator>Kellenberger, Kathi ; Groom, Clayton ; Pollack, Ed</creator><creatorcontrib>Kellenberger, Kathi ; Groom, Clayton ; Pollack, Ed</creatorcontrib><description>Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019. Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your querieswill run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.What You Will LearnSolve complex query problems without cumbersome self-joins that run slowly and are difficult to readCreate sliding windows in a result set for computing such as running totals and moving averagesReturn aggregate and detail data simultaneously from the same SELECT statementCompute lag and lead and other values that access data from multiple rows in a result setUnderstand the OVER clause syntax and how to control the windowAvoid framing errors that can lead to unexpected resultsWho This Book Is For Anyone who writes T-SQL queries, including database administrators, developers, business analysts, and data scientists. Before reading this book, you should understand how to join tables, write WHERE clauses, and build aggregate queries.</description><edition>Second edition.</edition><identifier>ISBN: 9781484251966</identifier><identifier>ISBN: 1484251962</identifier><identifier>ISBN: 1484251970</identifier><identifier>ISBN: 9781484251973</identifier><identifier>EISBN: 1484251970</identifier><identifier>EISBN: 9781484251973</identifier><identifier>DOI: 10.1007/978-1-4842-5197-3</identifier><identifier>OCLC: 1126216726</identifier><language>eng</language><publisher>Berkeley, CA: Apress L. P</publisher><subject>Computer Science ; Database Management ; Microsoft and .NET ; Professional and Applied Computing ; Programming Languages, Compilers, Interpreters</subject><creationdate>2019</creationdate><tpages>221</tpages><format>221</format><rights>Kathi Kellenberger, Clayton Groom, and Ed Pollack 2019</rights><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Uhttps://media.springernature.com/w306/springer-static/cover-hires/book/978-1-4842-5197-3</thumbnail><link.rule.ids>306,780,784,786,24762,27925</link.rule.ids></links><search><creatorcontrib>Kellenberger, Kathi</creatorcontrib><creatorcontrib>Groom, Clayton</creatorcontrib><creatorcontrib>Pollack, Ed</creatorcontrib><title>Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries</title><description>Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019. Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your querieswill run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.What You Will LearnSolve complex query problems without cumbersome self-joins that run slowly and are difficult to readCreate sliding windows in a result set for computing such as running totals and moving averagesReturn aggregate and detail data simultaneously from the same SELECT statementCompute lag and lead and other values that access data from multiple rows in a result setUnderstand the OVER clause syntax and how to control the windowAvoid framing errors that can lead to unexpected resultsWho This Book Is For Anyone who writes T-SQL queries, including database administrators, developers, business analysts, and data scientists. Before reading this book, you should understand how to join tables, write WHERE clauses, and build aggregate queries.</description><subject>Computer Science</subject><subject>Database Management</subject><subject>Microsoft and .NET</subject><subject>Professional and Applied Computing</subject><subject>Programming Languages, Compilers, Interpreters</subject><isbn>9781484251966</isbn><isbn>1484251962</isbn><isbn>1484251970</isbn><isbn>9781484251973</isbn><isbn>1484251970</isbn><isbn>9781484251973</isbn><fulltext>true</fulltext><rsrctype>book</rsrctype><creationdate>2019</creationdate><recordtype>book</recordtype><sourceid>OODEK</sourceid><recordid>eNplkE1LAzEQhiOiqLU_wNseBPEQm0k2mc1RS6tCQaRFj2E_srp22a3JtvXn27gVBE_DO_O880XIBbAbYAxHGhMKNE5iTiVopOKAnEGQQbFDMtwBv1qp410RuOKgkKsTMvT-gzHGudBCylPCJl8r67poQefPs-i1aop2G03XTd5VbeOjqolCfm7dxrqIM9Dn5KhMa2-H-zggL9PJYvxAZ0_3j-PbGU25RK5pkmrQcRmLONOYKQSJUudCF3lcQGJzrQqUUIRdilzpTCtgyDDDpJSIVogBue4bp35pt_69rTtvNrXN2nbpzZ8bMbCjnvUrVzVv1pmeAmbCywJtwATeBIMJjsu9Iy1TV-35Df_X-KrHVq79XFvfmZ_5uW06l9ZmcjeWux8rFYtvdodurg</recordid><startdate>2019</startdate><enddate>2019</enddate><creator>Kellenberger, Kathi</creator><creator>Groom, Clayton</creator><creator>Pollack, Ed</creator><general>Apress L. P</general><general>Apress</general><scope>OHILO</scope><scope>OODEK</scope></search><sort><creationdate>2019</creationdate><title>Expert T-SQL Window Functions in SQL Server 2019</title><author>Kellenberger, Kathi ; Groom, Clayton ; Pollack, Ed</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a25729-8a9194f434b97b6715759c39dc4d18ec96d751d0002dc69b9610707b78f577e33</frbrgroupid><rsrctype>books</rsrctype><prefilter>books</prefilter><language>eng</language><creationdate>2019</creationdate><topic>Computer Science</topic><topic>Database Management</topic><topic>Microsoft and .NET</topic><topic>Professional and Applied Computing</topic><topic>Programming Languages, Compilers, Interpreters</topic><toplevel>online_resources</toplevel><creatorcontrib>Kellenberger, Kathi</creatorcontrib><creatorcontrib>Groom, Clayton</creatorcontrib><creatorcontrib>Pollack, Ed</creatorcontrib><collection>O'Reilly Online Learning: Corporate Edition</collection><collection>O'Reilly Online Learning: Academic/Public Library Edition</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Kellenberger, Kathi</au><au>Groom, Clayton</au><au>Pollack, Ed</au><format>book</format><genre>book</genre><ristype>BOOK</ristype><btitle>Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries</btitle><date>2019</date><risdate>2019</risdate><isbn>9781484251966</isbn><isbn>1484251962</isbn><isbn>1484251970</isbn><isbn>9781484251973</isbn><eisbn>1484251970</eisbn><eisbn>9781484251973</eisbn><abstract>Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019. Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your querieswill run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.What You Will LearnSolve complex query problems without cumbersome self-joins that run slowly and are difficult to readCreate sliding windows in a result set for computing such as running totals and moving averagesReturn aggregate and detail data simultaneously from the same SELECT statementCompute lag and lead and other values that access data from multiple rows in a result setUnderstand the OVER clause syntax and how to control the windowAvoid framing errors that can lead to unexpected resultsWho This Book Is For Anyone who writes T-SQL queries, including database administrators, developers, business analysts, and data scientists. Before reading this book, you should understand how to join tables, write WHERE clauses, and build aggregate queries.</abstract><cop>Berkeley, CA</cop><pub>Apress L. P</pub><doi>10.1007/978-1-4842-5197-3</doi><oclcid>1126216726</oclcid><tpages>221</tpages><edition>Second edition.</edition></addata></record> |
fulltext | fulltext |
identifier | ISBN: 9781484251966 |
ispartof | |
issn | |
language | eng |
recordid | cdi_askewsholts_vlebooks_9781484251973 |
source | O'Reilly Online Learning: Academic/Public Library Edition |
subjects | Computer Science Database Management Microsoft and .NET Professional and Applied Computing Programming Languages, Compilers, Interpreters |
title | Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-03T09%3A49%3A58IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_askew&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=book&rft.btitle=Expert%20T-SQL%20Window%20Functions%20in%20SQL%20Server%202019:%20The%20Hidden%20Secret%20to%20Fast%20Analytic%20and%20Reporting%20Queries&rft.au=Kellenberger,%20Kathi&rft.date=2019&rft.isbn=9781484251966&rft.isbn_list=1484251962&rft.isbn_list=1484251970&rft.isbn_list=9781484251973&rft_id=info:doi/10.1007/978-1-4842-5197-3&rft_dat=%3Cproquest_askew%3EEBC5966664%3C/proquest_askew%3E%3Curl%3E%3C/url%3E&rft.eisbn=1484251970&rft.eisbn_list=9781484251973&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=EBC5966664&rft_id=info:pmid/&rfr_iscdi=true |