Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: Zoom Books Company Sold by: Zoom Books Company
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
SQL for Data Analysis: Advanced Techniques for Transforming Data into Insights
Purchase options and add-ons
With the explosion of data, computing power, and cloud data warehouses, SQL has become an even more indispensable tool for the savvy analyst or data scientist. This practical book reveals new and hidden ways to improve your SQL skills, solve problems, and make the most of SQL as part of your workflow.
You'll learn how to use both common and exotic SQL functions such as joins, window functions, subqueries, and regular expressions in new, innovative ways--as well as how to combine SQL techniques to accomplish your goals faster, with understandable code. If you work with SQL databases, this is a must-have reference.
- Learn the key steps for preparing your data for analysis
- Perform time series analysis using SQL's date and time manipulations
- Use cohort analysis to investigate how groups change over time
- Use SQL's powerful functions and operators for text analysis
- Detect outliers in your data and replace them with alternate values
- Establish causality using experiment analysis, also known as A/B testing
- ISBN-101492088781
- ISBN-13978-1492088783
- Edition1st
- PublisherO'Reilly Media
- Publication dateOctober 19, 2021
- LanguageEnglish
- Dimensions6.75 x 0.75 x 8.75 inches
- Print length357 pages
Frequently bought together

Customers who viewed this item also viewed
- Learning SQL: Generate, Manipulate, and Retrieve DataPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with DataPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- Python for Data Analysis: Data Wrangling with pandas, NumPy, and JupyterPaperbackGet it as soon as Thursday, Oct 1
- Storytelling with Data: A Data Visualization Guide for Business ProfessionalsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- SQL Programming: a QuickStudy Laminated Reference GuidePamphletFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- SQL Cookbook: Query Solutions and Techniques for All SQL UsersPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
Customers also bought or read
- SQL Cookbook: Query Solutions and Techniques for All SQL Users
Paperback$41.99$41.99FREE delivery Sun, Sep 20 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$43.99$43.99FREE delivery Oct 1 - 16 - Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with Data#1 Best SellerComputer Programming Structured Design
Paperback$19.99$19.99Delivery Sun, Sep 20 - Essential Math for Data Science: Take Control of Your Data with Fundamental Linear Algebra, Probability, and Statistics
Paperback$36.22$36.22FREE delivery Mon, Sep 21 - Practical Statistics for Data Scientists: 50+ Essential Concepts Using R and Python
Paperback$69.08$69.08FREE delivery Mon, Sep 21 - Storytelling with Data: A Data Visualization Guide for Business Professionals#1 Best SellerBusiness Communication
Paperback$15.74$15.74Delivery Sun, Sep 20 - Data Visualization with Microsoft Power BI: How to Design Savvy Dashboards
Paperback$41.33$41.33FREE delivery Mon, Sep 21 - Python Data Science Handbook: Essential Tools for Working with Data
Paperback$44.18$44.18FREE delivery Sun, Sep 20 - Data Science from Scratch: First Principles with Python
Paperback$35.54$35.54FREE delivery Mon, Sep 21 - Fundamentals of Data Engineering: Plan and Build Robust Data Systems
Paperback$40.00$40.00FREE delivery Sep 29 - Oct 14 - SQL for Data Analytics: Analyze data effectively, uncover insights and master advanced SQL for real-world applications
Paperback$37.99$37.99FREE delivery Mon, Sep 21 - Modern Data Analytics in Excel: Using Power Query, Power Pivot, and More for Enhanced Data Analytics
Paperback$38.31$38.31FREE delivery Tue, Sep 22 - R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
Paperback$43.99$43.99FREE delivery Sun, Sep 20 - The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling
Paperback$38.44$38.44FREE delivery Sun, Sep 20 - SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL
Paperback$46.15$46.15FREE delivery Sep 25 - 30 - Fundamentals of Data Visualization: A Primer on Making Informative and Compelling Figures
Paperback$47.00$47.00FREE delivery Mon, Sep 21 - Data Pipelines Pocket Reference: Moving and Processing Data for Analytics
Paperback$16.93$16.93Delivery Sun, Sep 20 - Real-World SQL for Analysts: 90 Practice Problems to Get You Job-Ready
Paperback$18.49$18.49Delivery Mon, Sep 21 - Learn Microsoft Power BI: A comprehensive, beginner-friendly guide to real-world business intelligence
Paperback$44.99$44.99FREE delivery Mon, Sep 21 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sun, Sep 20 - Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$49.50$49.50FREE delivery Mon, Sep 21
From the brand
-
Explore our collection
-
More From O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Over the past 20 years, I’ve spent many of my working hours manipulating data with SQL. For most of those years, I’ve worked in technology companies spanning a wide range of consumer and business-to-business industries. In that time, volumes of data have increased dramatically, and the technology I get to use has improved by leaps and bounds. Databases are faster than ever, and the reporting and visualization tools used to communicate the meaning in the data are more powerful than ever. One thing that has remained remarkably constant, however, is SQL being a key part of my toolbox.
Part of my role involved crunching inventory data in spreadsheets, and thanks to early internet scale, the data sets were sometimes tens of thousands of rows. This was “big data” at the time, at least for me. I got in the habit of going for a cup of coffee or for lunch while my computer’s CPU was occupied with running its vlookup magic. One day my manager went on vacation and asked me to tend to the data warehouse he’d built on his laptop using Access. Refreshing the data involved a series of steps: running SQL queries in a portal, loading the resulting csv files into the database, and then refreshing the spreadsheet reports. After the first successful load, I started tinkering, trying to understand how it worked, and pestering the engineers to show me how to modify the SQL queries.
I was hooked, and even when I thought I might change directions with my career, I’ve kept coming back to data. Manipulating data, answering questions, helping my colleagues work better and smarter, and learning about businesses and the world through sets of data have never stopped feeling fun and exciting.
When I started working with SQL, there weren’t many learning resources. I got a book on basic syntax, read it in a night, and from there mostly learned through trial and error. Back in the days when I was learning, I queried production databases directly and brought the website down more than once with my overly ambitious (or more likely just poorly written) SQL. Fortunately my skills improved, and over the years I learned to work forward from the data in tables, and backward from the output needed, solving technical and logic challenges and puzzles to write queries that returned the right data. I ended up designing and building data warehouses to gather data from different sources and avoid bringing down critical production databases. I’ve learned a lot about when and how to aggregate data before writing the SQL query and when to leave data in a more raw form.
I’ve compared notes with others who got into data around the same time, and it’s clear we mostly learned in the same ad hoc way. The lucky among us had peers with whom to share techniques. Most SQL texts are either introductory and basic (there’s definitely a place for these!) or else aimed at database developers. There are few resources for advanced SQL users who are focused on analysis work. Knowledge tends to be locked up in individuals or small teams. A goal of this book is to change that, giving practitioners a reference for how to solve common analysis problems with SQL, and I hope inspiring new inquiries into data using techniques you might not have seen before.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : October 19, 2021
- Edition : 1st
- Language : English
- Print length : 357 pages
- ISBN-10 : 1492088781
- ISBN-13 : 978-1492088783
- Item Weight : 2.31 pounds
- Dimensions : 6.75 x 0.75 x 8.75 inches
- Best Sellers Rank: #111,212 in Books (See Top 100 in Books)
- #9 in Data Warehousing (Books)
- #11 in Mathematical & Statistical Software
- #11 in SQL
- Customer Reviews:
About the author

Cathy Tanimura has a passion for connecting people and organizations to the data they need to make an impact. She has been analyzing data for over 20 years across a wide range of industries, from finance to B2B software to consumer services. She has experience analyzing data with SQL across most of the major proprietary and open source databases. She has built and managed data teams and data infrastructure at a number of leading tech companies. Cathy is also a frequent speaker at top conferences, on topics including building data cultures, data-driven product development, and inclusive data analysis.




















