In this module, we will dive into the fundamentals of SQL (Structured Query Language) and explore key concepts that are essential for data analysis. Whether you're new to SQL or looking to strengthen your skills, this module will provide you with the tools needed to manipulate and analyze data using SQL.
- Intro to SQL 🧑💻: Understanding the basics of SQL and its role in data analysis.
- Filtering 🔍: Learn how to filter data using
WHEREclauses. - Aggregations ➗: Use aggregate functions like
SUM,AVG,COUNTto analyze your data. - Group By 👥: Group data based on specified criteria and apply aggregate functions.
- DDL Functions ⚙️: Explore Data Definition Language (DDL) functions to define and modify database structures.
- Primary and Foreign Keys 🔑: Understand relational database design and how to enforce data integrity.
- Joining Data 🔗: Learn how to combine data from multiple tables using various types of
JOIN. - String, Types, Date, and Condition Functions 🧾: Manipulate and analyze text, numeric, and date data.
- CTEs and Subqueries 🧠: Master Common Table Expressions (CTEs) and subqueries to simplify complex queries.
- SQL Challenge 💥: A final hands-on challenge to apply all your SQL knowledge to real-world problems.
By the end of this module, you will be able to:
- Write and execute basic SQL queries to retrieve data.
- Filter, aggregate, and group data to derive meaningful insights.
- Design and modify tables using DDL functions.
- Understand and implement relationships between tables using primary and foreign keys.
- Use SQL joins to combine data across multiple tables.
- Leverage SQL functions to manipulate text, numbers, and dates.
- Write complex SQL queries using CTEs and subqueries.
- Apply your SQL knowledge through a hands-on SQL challenge.
- Day 1: Introduction to Databases & SQL and setup
- Day 2: Filtering & Aggregations
- Day 3: Groupby & Create
- Day 4: DDL Functions, Primary and Foreign Keys
- Day 5: Joins
- Day 6: String, Types, Date, and Condition Functions
- Day 7: CTEs & Subqueries
- Day 8: SQL Challenge
- Day 9: SQL Challenge
- Break down complex queries into smaller steps and test each part.
- Don’t hesitate to ask questions and seek help when stuck—SQL is a powerful tool, and the more you practice, the more proficient you’ll become.
- Refer to online resources or SQL documentation if needed.