{"product_id":"9781484211038","title":"Expert T-SQL Window Functions in SQL Server","description":"\u003cp\u003e\u003cem\u003eExpert T-SQL Window Functions in SQL Server\u003c\/em\u003e takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions. \u003c\/p\u003e\u003cp\u003eFirst introduced in SQL Server 2005, window functions came into full blossom with SQL Server 2012. They truly are one of the most notable developments in SQL in a decade, and every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Begin using windowing functions like ROW_NUMBER and LAG, and you will discover more ways to use them every day. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your queries will run faster, they will be easier to write, and they will be easier to deconstruct and maintain and enhance in the future. \u003c\/p\u003e\u003cp\u003eJust knowing and using these functions is not enough. You also need to understand how to tune the queries. \u003cem\u003eExpert T-SQL Window Functions in SQL Server \u003c\/em\u003eexplains clearly how to get the best performance. The book also covers the rare cases when older techniques are the best bet. Stop using cursors and self-joins to solve complicated queries. Become a T-SQL expert by mastering windowing functions.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eTeaches you how to use all the window functions introduced in 2005 and 2012.\u003c\/li\u003e\n\u003cli\u003eProvides real-world examples that you can experiment with in your own database. \u003c\/li\u003e\n\u003cli\u003eExplains how to get the best performance when using windowing functions.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003c\/p\u003eWhat youll learn\u003cul\u003e\n\u003cli\u003eCreate aggregations by defining sets of rows with the OVER clause.\u003c\/li\u003e\n\u003cli\u003eCalculate aggregates without losing the details.\u003c\/li\u003e\n\u003cli\u003eRank and bucketize data for reporting purposes.\u003c\/li\u003e\n\u003cli\u003eReduce and often eliminate self-joins.\u003cp\u003e\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003eReduce and often eliminate row-by-row cursor processing.\u003c\/li\u003e\n\u003cli\u003eWrite simpler queries that perform with greater speed.\u003c\/li\u003e\n\u003cli\u003eRecognize situations when window functions make a difference.\u003c\/li\u003e\n\u003c\/ul\u003eWho this book is for      \u003cp\u003e     \u003cem\u003eExpert T-SQL Window Functions in SQL Server\u003c\/em\u003e is for the SQL Server database professionals who are ready to take on the biggest leap in query-writing expressiveness and performance to hit the SQL language in years. It’s for developers and database administrators who may have heard about windowing functions, but who haven’t had a chance to learn much about them. \u003cem\u003eExpert T-SQL Window Functions in SQL Server\u003c\/em\u003e is an excellent way for database professionals to get up to speed on these functions and put their benefits to work.       \u003c\/p\u003e     Table of Contents\u003cp\u003e1. Looking through the Window\u003c\/p\u003e\u003cp\u003e2. Discovering Ranking Functions\u003c\/p\u003e\u003cp\u003e3. Aggregating with Window Functions\u003c\/p\u003e\u003cp\u003e4. Tuning for Better Performance\u003c\/p\u003e\u003cp\u003e5. Calculating Rolling and Running Aggregates\u003c\/p\u003e\u003cp\u003e6. Adding Frames to the Window\u003c\/p\u003e\u003cp\u003e7. Peaking at Other Rows\u003c\/p\u003e\u003cp\u003e8. Understanding Statistical Functions\u003c\/p\u003e\u003cp\u003e9. The Future of Window Functions \u003c\/p\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":47131477803248,"sku":"9781484211038","price":19.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9781484211038_p0.jpg?v=1763632021","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9781484211038","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}