Menu

SQL for Data Science

SQL for Data Science is a short, practical handbook that teaches the SQL a data scientist uses day to day. It starts with installing PostgreSQL and writing your first queries, then moves through filtering, grouping, joins and data cleaning. From there, it covers subqueries, CTEs and window functions, then query performance and how to use SQL with Python and pandas. Every lesson covers one idea, with a fresh example, its output and a plain explanation of how the code works. The handbook has 8 modules and 21 lessons, and it closes with a mini project and common interview questions.

8 Modules

21 Lessons

English

0.5 Hr

Show more

Learn via Video Course

Data Analysis and Processing with Python using Pandas - Data Science Course Logo

Data Analysis and Processing with Python using Pandas - Data Science Course

5 hrs

Reading Plan

SQL for Data Science

This handbook covers SQL from the ground up. You set up PostgreSQL, create tables and write queries to select, filter and sort data. You then summarize it with GROUP BY, combine tables with joins and clean messy data. The later modules cover subqueries, CTEs, window functions and query performance. The handbook ends with using SQL alongside Python and pandas, a mini project and common interview questions.

SQL for Data Science

SQL for Data Science matters for the following reasons: - Data is often stored in databases, and SQL is how you read it. - You can filter, join and clean data before analysis begins. - Window functions and CTEs handle advanced analysis inside the database. - Indexes keep queries fast on large tables. - Query results move easily into Python and pandas.

SQL for Data Science

This handbook is useful for the following learners: - Students and beginners who want to start with SQL for data science. - Data analysts who want to practice joins, grouping and window functions. - Python and pandas users who want to pull data from a database. - Working professionals who need to use SQL to read company data. - Anyone preparing for SQL questions in a data role interview.

Prerequisites

This course is suitable for:

  • No prior SQL experience is needed
  • A computer where you can install PostgreSQL, which is free
  • A basic understanding of rows and columns, like in an Excel sheet
  • Willingness to run the examples yourself as you read

Run & Test your Code with our very own IDE that supports 16 languages

Open IDE