400+ ready-to-use, powerful SQL queries Learn powerful techniques for surfacing and delivering actionable business intelligence using SQL. Practical SQL Queries for Microsoft SQL Server 2008 R2 contains more than 400 downloadable SQL queries you can use to extract meaningful insights from large amounts of data. The application, syntax, and results of each query are described in detail. The book emphasizes SQL for use in SSMS, but the queries also apply to SSRS, WinForms, WebForms, and many other applications. Enter, maintain, and retrieve database data Search records using the Where clause Sort SQL query results with the Order By clause Create tables and perform joins on tables Perform set operations using Union, Intersect, and Except Group data and produce totals with the Group By clause Manipulate and transform data using built-in functions Create reusable views and user-defined functions Use stored procedures to change SQL dynamically based on conditional factors Create, maintain, and secure database objects with DDL and DCL Deliver SQL query results to end users
Art Tennick has worked in relational database design and SQL queries for more than 20 years. He has been involved in multi-dimensional database design, cubes, data mining, DMX, and MDX for 10 years. Art is the author of Practical MDX Queries for Microsoft SQL Server Analysis Services 2008, Practical DMX Queries for Microsoft SQL Server Analysis Services 2008, and Practical PowerPivot & DAX Formulas for Excel 2010. His website is www.MrCube.net.