Course
Intermediate SQL
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Loved by learners at thousands of companies
Training 2 or more people?
Try DataCamp for BusinessCourse Description
Discover Filtering with SQL
You'll discover techniques for filtering and comparing data, enabling you to extract specific information to gain insights and answer questions about the data.Get Acquainted with Aggregation
Next, you'll get a taste of aggregate functions, essential for summarizing data effectively and gaining valuable insights from large datasets. You'll also combine this with sorting and grouping data, adding another layer of meaning to your insights and analysis.Write Clean Queries
Finally, you'll be shown some tips and best practices for presenting your data and queries neatly. Throughout the course, you'll have hands-on practice queries to solidify your understanding of the concepts. By the end of the course, you'll have everything you need to know to analyze data using your own SQL code today!Feels like what you want to learn?
Start Course for FreeWhat you'll learn
- Identify and apply filtering techniques using WHERE, AND, OR, BETWEEN, and LIKE operators.
- Differentiate between aggregate functions (SUM, AVG, COUNT, etc.) and arithmetic operators in SQL queries.
- Recognize the correct use of WHERE versus HAVING when filtering grouped data.
- Define best practices for query readability using style guides, indentation, and aliasing.
- Evaluate and organize query results by applying sorting, grouping, and rounding techniques.
Prerequisites
Introduction to SQLData Aggregation
Summary Values
You will learn to summarize data by calculating key statistics like totals, averages, and counts, enabling you to extract meaningful insights from raw data.
One Grouping Column
You will learn to break down summary statistics by categories, enabling you to compare metrics across different groups and discover patterns in your data.
Multiple Grouping Columns
You will learn to analyze data across multiple dimensions at once, enabling you to discover nuanced patterns by breaking down summaries along several categories simultaneously.
Data Transformation
Basic Transformations
You will learn to create new columns by combining and calculating values from existing data, enabling you to derive ratios and other metrics not available in the original dataset.
Complex Transformations
You will learn to handle multi-step calculations and compute percentages of totals, enabling you to build complex metrics that depend on intermediate results.
Data Filtering
Basic Filtering
You will learn to extract specific rows from your data based on conditions, enabling you to focus your analysis on relevant subsets and handle missing values and text patterns.
Multiple Conditions
You will learn to filter data using multiple criteria at once, enabling you to extract precisely the rows you need by combining conditions with AND and OR logic.
Complex Filtering
You will learn to simplify complex filtering by breaking conditions into separate columns, and to extract the opposite of a filter result, making your analysis more transparent and verifiable.
Conditional Operations
Conditional Transformation
You will learn to apply different calculations based on specific conditions, enabling you to standardize values, classify data into categories, and handle varied scenarios within your data.
Conditional Aggregation
You will learn to calculate summaries that include only values meeting specific criteria, enabling you to compute nuanced metrics like "average of delayed flights only" within each group.
Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance review
Included withPremium or Teams
Enroll NowFAQs
Join over 19 million learners and start Intermediate SQL today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.