Querying SQL Server: Run T-SQL operations, data extraction, data manipulation, and custom queries to deliver simplified analytics (English Edition)

· BPB Publications
Ebook
620
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

Learning real-world analytics using SQL

 

KEY FEATURES  

● Hands-on approach to learning the fundamentals of data analysis

● Covers all levels of SQL expertise from novice to master with examples

● Includes techniques and approaches to query complex databases more effectively 

 

DESCRIPTION 

This book will take you on an interactive journey to master SQL querying from the most fundamental to the most advanced level using various T-SQL techniques to provide meaningful insights from your SQL Server data.


The book begins with an introduction to the fundamental concepts of both SQL and SQL Server. It then guides readers through the process of building queries, using simple and then more complex table joins and progressively more advanced data filtering, to deliver advanced queries based on a variety of SQL techniques. The reader will understand how to deliver relevant and trustworthy analysis of the data through learning how to apply fundamental computations in T-SQL, relational logic, and how to group and aggregate data. There is also coverage of other SQL concepts, such as formatting queries, writing subqueries, creating derived tables, joining and filtering tables, etc. In addition to that, the book discusses how to conduct rolling analyses, examine time-series data, and manage large and complex datasets.


After finishing the book, readers won't merely be able to write complex queries; rather, they will be able to construct their methodology for analysing relational datasets and arriving at the desired insights.


WHAT YOU WILL LEARN

● Analyze data using simple math and logic, multiple filters, and data aggregation.

● Become proficient with table expressions, subqueries, and writing complex computations.

● Perform rolling analysis and time series analysis using advanced methods.

● Review SQL concepts such as table joins, data filtering, query structuring, and table derivation.


WHO THIS BOOK IS FOR

This book is for data professionals, such as database developers, SQL developers, data analysts, and BI experts, who wish to construct complex queries and extract the desired analytics from their datasets. The book also encourages smart new learners to learn SQL and use it right away in their first jobs.

 

TABLE OF CONTENTS

1. Writing Basic SQL Queries

2. Using Multiple Tables When Querying Data

3. Using Advanced Table Joins

4. Filtering Data

5. Applying Complex Filters to Queries

6. Making Simple Calculations

7. Aggregating Output

8. Working with Dates in SQL Server

9. Formatting Text in Query Output

10. Formatting Numbers and Dates

11. Using Basic Logic to Enhance Analysis

12. Subqueries

13. Derived Tables

14. Common Table Expressions

15. Correlated Subqueries

16. Dataset Manipulation

17. Using SQL for More Advanced Calculations

18. Segmenting and Classifying Data

19. Rolling Analysis

20. Analyzing Data Over Time

21. Complex Data Output

About the author

Adam Aspin is an independent Business Intelligence (BI) consultant based in the United Kingdom. A graduate of Oxford University, Adam is a database and analytics specialist. He is a frequent contributor to SQLServerCentral.com and Simple Talk and is a regular speaker at SQL Server User Groups, SQL Saturdays, Power BI Meetups and conferences such as SQL Bits.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.