SQL Level 1 : Foundations
Basics of SQL
9 modules83 topics
About this course
This course is designed to make learners comfortable and confident in writing basic to intermediate SQL queries independently. It starts with core querying concepts such as SELECT, filtering, sorting, and aggregations, then progresses to GROUP BY, HAVING, different types of JOINs, subqueries, CASE statements, CTEs, and basic window functions.
The course emphasizes hands-on query writing and problem-solving, enabling learners to understand business requirements, translate them into SQL logic, combine data from multiple tables, perform calculations and aggregations, and solve common real-world data analysis problems.

Curriculum
M10. Database Setup1 topic
M21. SQL & Database Fundamentals8 topics
·Module overview
- 2.11.1 What is SQL and Why Do We Use It?
- 2.21.2 Relational Databases and RDBMS
- 2.31.3 Database, Schema, Table, Row and Column
- 2.41.4 Primary Keys and Foreign Keys
- 2.51.5 Common SQL Data Types
- 2.61.6 Understanding a Simple Relational Data Model
- 2.71.7 SQL Syntax and Query Structure
- 2.81.8 Your First SQL Query
M32. SELECT and Basic Querying8 topics
M43. Filtering Data11 topics
·Module overview
- 4.13.1 WHERE Clause
- 4.23.2 Comparison Operators
- 4.33.3 AND, OR and NOT
- 4.43.4 Operator Precedence and Parentheses
- 4.53.5 BETWEEN
- 4.63.6 IN and NOT IN
- 4.73.7 LIKE and Pattern Matching
- 4.83.8 Working with NULL: IS NULL and IS NOT NULL
- 4.93.9 Combining Multiple Filtering Conditions
- 4.103.10 Common Filtering Mistakes
- 4.11Exercises
M54. Sorting and Transforming Results10 topics
M65. SQL Functions15 topics
·Module overview
- 6.15.1 Introduction to SQL Functions
- 6.25.2 Scalar vs Aggregate Functions
- 6.35.3 String Functions
- 6.45.4 UPPER, LOWER and TRIM
- 6.55.5 CONCAT and Combining Strings
- 6.65.6 SUBSTRING and String Extraction
- 6.75.7 String Length and Replacement Functions
- 6.85.8 Date and Time Data
- 6.95.9 Current Date and Time Functions
- 6.105.10 Extracting Year, Month and Day
- 6.115.11 Date Differences and Date Arithmetic
- 6.125.12 Numeric Functions
- 6.135.13 ROUND, CEILING and FLOOR
- 6.14Topic 14
- 6.15Exercises
M76. Aggregations12 topics
·Module overview
- 7.16.1 What is Aggregation?
- 7.26.2 COUNT
- 7.36.3 SUM, AVG, MIN and MAX
- 7.46.4 COUNT(*) vs COUNT(column) vs COUNT(DISTINCT column)
- 7.56.5 GROUP BY
- 7.66.6 Grouping by Multiple Columns
- 7.76.7 WHERE with Aggregations
- 7.86.8 HAVING
- 7.96.9 WHERE vs HAVING
- 7.106.10 Conditional Aggregation with CASE WHEN
- 7.116.11 NULL Behaviour in Aggregate Functions
- 7.12Exercises
M87. Joins18 topics
·Module overview
- 8.17.1 Why Do We Need Joins?
- 8.27.2 Understanding Table Relationships
- 8.37.3 One-to-One, One-to-Many and Many-to-Many Relationships
- 8.47.4 Join Keys and Join Conditions
- 8.57.5 INNER JOIN
- 8.67.6 LEFT JOIN
- 8.77.7 RIGHT JOIN
- 8.87.8 FULL OUTER JOIN
- 8.97.9 Joining Multiple Tables
- 8.107.10 Joining on Multiple Conditions
- 8.117.11 Table Aliases in Joins
- 8.127.12 Self Join
- 8.137.13 Cross Join
- 8.147.14 NULLs in Joins
- 8.157.15 Duplicate Rows After Joins
- 8.167.16 Join Cardinality and Row Multiplication
- 8.177.17 Common Join Mistakes
- 8.18Exercises

