SQL for Data Science

Wishlist Share
Share Course
Page Link
Share On Social Media

About Course

A hands-on, analyst-focused introduction to SQL that teaches you how to extract, clean, join, aggregate, and analyze data directly in databases. You’ll learn the SQL patterns used daily in analytics—window functions, subqueries, and time-series queries—and finish with a capstone that builds an analysis-ready dataset and key metrics. Two delivery options: a 4‑week intensive for working professionals and an 8‑week paced track for students.

What Will You Learn?

  • Relational database basics: tables, keys, relationships, and how SQL fits into analytics.
  • Core querying: SELECT, WHERE, ORDER BY, LIMIT, DISTINCT, handling NULLs.
  • Aggregations & grouping: COUNT/SUM/AVG/MIN/MAX, GROUP BY, HAVING, rollups.
  • Joins for analysis: INNER/LEFT/RIGHT/FULL joins, anti/semi joins, join pitfalls.
  • Subqueries & CTEs: scalar, correlated, WITH queries, recursive CTEs (hierarchies).
  • Window functions: PARTITION/ORDER BY, ranks, moving averages, period-over-period.
  • Time-series analytics: date arithmetic, bucketing, cohort and retention queries.
  • Text & date functions: cleaning strings, pattern matching, regex; date parsing and formatting.
  • Data cleaning in SQL: deduplication, type casting, outlier flags, validation checks.
  • Data modeling for analytics: star schemas, normalization vs. denormalization, views.
  • Performance & optimization: indexes, query plans (EXPLAIN), sargable predicates.
  • Security & governance: roles, privileges, row-level security, PII-safe patterns.
  • SQL + Python workflows: pandas/read_sql, parameterized queries, exporting results.

Course Content

Introduction

  • Learning Approach

Module 1 — Relational databases and SQL essentials
Understand how data is stored and retrieved; write your first queries.

Module 2 — Filtering, conditional logic, and computed columns
Extract exactly what you need and derive new fields.

Module 3 — Aggregations and grouping for KPIs
Summarize data into meaningful metrics.

Module 4 — Joins that don’t bite
Combine tables accurately and avoid duplication.

Module 5 — Subqueries and CTEs (WITH)
Structure complex logic clearly and reuse it.

Module 6 — Window functions for analytics
Powerful row-by-row analytics without extra joins.

Module 7 — Dates, times, and time-series analysis
Work fluently with time.

Module 8 — Strings, patterns, and light text processing
Clean and extract insights from text fields.

Module 9 — Data cleaning and quality checks in SQL
Make messy data trustworthy.

Module 10 — Data modeling for analytics
Design analysis-friendly structures.

Module 11 — Performance tuning and query plans
Make queries fast and scalable.

Module 12 — Security, access, and governance
Keep data safe while enabling insight.

Module 13 — SQL in the analytics workflow (with Python)
Move between database and analysis tools smoothly.

Module 14 — Capstone: From raw tables to insights
Build an analysis-ready dataset and answer real questions.

Earn a certificate

Add this certificate to your resume to demonstrate your skills & increase your chances of getting noticed.

selected template
Scroll to Top