Intermediate SQL Queries
4.6+
101 reviewsBeginner
Master the basics of querying tables in relational databases such as MySQL, SQL Server, and PostgreSQL.
Start Course for Free4 Hours1 Video41 Exercises1,491,325 Learners
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
Course Description
The role of a data scientist is to turn raw data into actionable insights. Much of the world's raw data—from electronic medical records to customer transaction histories—lives in organized collections of tables called relational databases. To be an effective data scientist, you must know how to wrangle and extract data from these databases using a language called SQL . This course teaches syntax in SQL shared by many types of databases, such as PostgreSQL, MySQL, SQL Server, and Oracle. This course teaches you everything you need to know to begin working with databases today!
- 1
Selecting columns
FreeThis chapter provides a brief introduction to working with relational databases. You'll learn about their structure, how to talk about them using database lingo, and how to begin an analysis using simple SQL commands to select and summarize columns from database tables.
Welcome to the course!50 xpOnboarding | Tables50 xpOnboarding | Query Result50 xpOnboarding | Errors100 xpOnboarding | Multi-step Exercises100 xpBeginning your SQL journey50 xpSELECTing single columns100 xpSELECTing multiple columns100 xpSELECT DISTINCT100 xpLearning to COUNT50 xpPractice with COUNT100 xp - 2
Filtering rows
This chapter builds on the first by teaching you how to filter tables for rows satisfying some criteria of interest. You'll learn how to use basic comparison operators, combine multiple criteria, match patterns in text, and much more.
- 3
Aggregate Functions
This chapter teaches you how to use aggregate functions to summarize data and gain useful insights. You'll also learn about arithmetic in SQL and how to use aliases to make your results more readable.
- 4
Sorting and grouping
This chapter provides a brief introduction to sorting and grouping your results.
ORDER BY50 xpSorting single columns100 xpSorting single columns (2)100 xpSorting single columns (DESC)100 xpSorting multiple columns100 xpGROUP BY50 xpGROUP BY practice100 xpGROUP BY practice (2)100 xpHAVING a great time50 xpAll together now100 xpAll together now (2)100 xpA taste of things to come100 xp
Datasets
IMDb Film dataCollaborators


Nick Carchedi
See MoreProduct Manager at DataCamp
Nick is a Product Manager at DataCamp. Prior to joining DataCamp, he earned his master's degree at Johns Hopkins Biostatistics and worked as a data scientist for McKinsey. Nick's passion for teaching data science began in graduate school, where he was heavily involved in tutoring fellow students, developing the Johns Hopkins Data Science Specialization, and building the swirl R package.
Don’t just take our word for it
*4.6from 101 reviews
73%
21%
5%
1%
0%
Sort by
- Anton D.about 2 months
+
- Timothee C.about 2 months
Course is well structured and easy to follow to make progress.
- Marina F.about 2 months
I liked very much the way it was structured. I liked how the exercises evolved from using one structure and then combing it with previously learned structures.
- Benjamin M.2 months
Excellent overview of Intermediate Queries, including JOINs, Subqueries, aggregate operations, and more. Highly accessible, and the pace of learning was ideal.
- Lefa N.2 months
Great course. I really enjoyed it.
Loading ...
"+"
Anton D.
"Course is well structured and easy to follow to make progress."
Timothee C.
"I liked very much the way it was structured. I liked how the exercises evolved from using one structure and then combing it with previously learned structures."
Marina F.
FAQs
Join over 11 million learners and start Intermediate SQL Queries 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.