Cover of SQL for Data Analysis

Books / Computer Science

SQL for Data Analysis

Queries, Optimization, and Reporting

by Valerie Gauthier

Order for your organisation

Published2027 Price (UK)£185 Format170 × 250 mm

About this book

SQL remains the most widely used language for working with data, and analysts who write it fluently can answer business questions directly from databases. SQL for Data Analysis: Queries, Optimization, and Reporting teaches the skills analysts need. It begins with relational data and SQL for analysts, then selecting, filtering and sorting data. Joining tables shows how information from several tables is combined correctly, a frequent source of errors. Aggregation and grouping summarise data, and subqueries answer questions in several steps. Window functions and common table expressions provide powerful tools for rankings, running totals and complex analyses that once required spreadsheets or programming. Dates, strings and data cleaning in SQL address the messy data found in real databases. Analytical patterns such as cohorts, funnels and retention show how common business questions are answered. Query performance and indexing explain how to write queries that run quickly on large tables. Building reports and dashboards from SQL connects queries to decision-makers, and a final chapter presents case studies. Students in computer science, information systems, business and data science will find a hands-on and well-structured course. Analysts, managers and developers will find a reference for extracting reliable answers from databases quickly and efficiently.

Also by Valerie Gauthier