SQL for Data Science Fundamentals
Chapter 1: Introduction to Databases and SQL
What is a Relational Database?
Tables, Columns, and Rows
What is SQL (Structured Query Language)?
Setting Up Your Environment (Optional)
Chapter 2: Retrieving Data with SELECT
The Basic SELECT Statement
Selecting Specific Columns
Using Aliases for Columns
Hands-on Practical: Writing Basic SELECT Queries
Chapter 3: Filtering and Sorting Data
Introduction to Filtering with WHERE
Comparison Operators (=, <>, <, >, <=, >=)
Filtering with AND, OR, NOT
Filtering with IN and BETWEEN
Pattern Matching with LIKE
Sorting Results with ORDER BY
Hands-on Practical: Filtering and Sorting Queries
Chapter 4: Aggregating Data
Introduction to Aggregate Functions
Calculating Sums with SUM
Calculating Averages with AVG
Finding Minimum and Maximum Values with MIN/MAX
Grouping Data with GROUP BY
Filtering Groups with HAVING
Hands-on Practical: Aggregation and Grouping
Chapter 5: Combining Data from Multiple Tables
Understanding Primary and Foreign Keys
Introduction to SQL JOINs
Hands-on Practical: Writing INNER JOIN Queries