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