
Data Science and Machine Learning
SQL for Data Analysis
Write clear, correct SQL to filter, join, aggregate and analyse data in relational databases, and turn business questions into reliable answers.
- Level
- Beginner
- Format
- Written, self-paced
- Length
- About 6 hours
- Lessons
- 15
- Modules
- 4
- Certificate
- Yes, verifiable
- Last updated
- October 2026
- Read the first lesson free
- 14-day refund policy
- Certificate you can verify
- Lifetime access to courses you buy
- Secure checkout
About this course
Query data with confidence. Master SQL joins, aggregations, and subqueries to pull insights from any relational database.
Self-paced written course: text lessons, practical exercises, module quizzes and a final project, delivered online. No video and no live tutor.
What you will learn
- Explain how relational databases organise data in tables linked by primary and foreign keys.
- Write SELECT queries that filter, sort, limit and calculate new columns, handling NULLs correctly.
- Summarise data with aggregate functions, GROUP BY, HAVING, CASE and date functions.
- Combine tables with the right join type and avoid dropped or duplicated rows.
- Use subqueries, CTEs, window functions and set operations for multi-step analysis.
- Plan, build, validate and speed up analysis queries that answer real business questions.
Curriculum
Module 1SQL Foundations4 lessons
- 1Databases and Tables Explained3 min read Free preview
- 2SELECT: Your Core Tool3 min read
- 3Filtering with WHERE3 min read
- 4Sorting and Limiting Results3 min read
- QuizModule quiz, 4 questions
Module 2Aggregation Power4 lessons
- 5COUNT, SUM, AVG and Friends3 min read
- 6GROUP BY and HAVING3 min read
- 7CASE WHEN Logic3 min read
- 8Working with Dates3 min read
- QuizModule quiz, 4 questions
Module 3Multiple Tables4 lessons
- 9JOINs Explained Visually3 min read
- 10Subqueries and CTEs3 min read
- 11Window Functions Introduction3 min read
- 12Set Operations3 min read
- QuizModule quiz, 4 questions
Module 4Analyst Workflows3 lessons
- 13Building Analysis Queries Step by Step3 min read
- 14Query Performance Basics4 min read
- 15Course Project: Answer Business Questions in SQL3 min read
- QuizModule quiz, 4 questions
Final project
Business Questions Analysis in SQL. A practical brief with ordered steps, what to produce and how to check your own work. You confirm it in your learner area.
Who it is for
- Analysts and report writers who want to pull their own data instead of waiting for exports.
- Excel users and managers who want to work directly with company databases.
- Beginners preparing for junior data analyst, business intelligence or reporting roles.
Not for you if you already work confidently with everything in the curriculum below. Look at the other data science and machine learning courses instead.
Requirements
- A computer able to run a free database such as SQLite (with DB Browser for SQLite) or PostgreSQL.
- Basic comfort with spreadsheets and simple arithmetic; no programming experience is needed.
- Permission to install software, or access to a practice database provided by your workplace.
What is included
- 15 written lessons
- 15 practical exercises
- 4 module quizzes
- A final project
- Certificate of completion with a verification code
- Lifetime access to what you buy
Questions about this course
What do I need before I start?
No previous experience is needed: this is a beginner course and it explains each idea from the start. The software and equipment you need are listed under Requirements on this page.
What device do I need?
A phone, tablet or computer with a modern web browser and an internet connection. Lessons are written, so they work on slow connections.
How long do I have access?
Lifetime access to the full course or to any module you buy. All Access and Teams give 12 months of access to every course.
Can I get a refund?
Yes: a full refund within 14 days of purchase if you have completed less than 30% of the course (or of the module, for a single module). Read the refund policy.
Should I buy a module or the full course?
A module (USD 10) unlocks that module's lessons and quiz. The full course (USD 94) unlocks everything and leads to the certificate. If you buy modules first, each one you own is credited at USD 10 when you buy the full course.
Which currency will I pay in?
All prices are in US dollars (USD) with taxes included where applicable; if your card or account is in another currency, your bank converts it. After you place your order we email you payment instructions within one working day; your access starts as soon as payment is confirmed.
Learning path: Data Science and Machine Learning
All 12 open courses in this subject for USD 1,099. Bought separately they cost USD 1,839, so you save USD 740.
Part of these career tracks
- Junior Data Analyst career track: Clean, analyse and present business data with Excel, SQL, Python and Power BI to support everyday decisions.