Day 1: SQL Foundations & RDBMS | 10-Day Data Engineering Course
Coding Macaw Bootcamp LLC
0:00 / 0:00
Day 1: SQL Foundations & RDBMS | 10-Day Data Engineering Course
63 просмотра · 7 дней назад
Coding Macaw Bootcamp LLC
263 подписчика
63 просмотра · 7 дней назад
Welcome to Day 1 of the 10-Day Data Engineering Deep Dive Series! 🚀
In this foundational session, we break down Relational Database Management Systems (RDBMS) and the essential SQL mechanics every Data Engineer must master before building pipelines.
80% of Data Engineering interviews start with a live SQL screening. In this video, you will learn how the SQL execution engine actually processes queries and how to write live aggregations and JOINs.
🔗 Explore our full live Bootcamps & register today: https://www.codingmacaw.com
📌 Key Topics Covered
Concept Clarity: What is an RDBMS? Tables, Rows, Columns & Relations
Database Primary Principles: Primary Keys (unique identifiers) vs. Foreign Keys (relational links)
The "Big 6" Analytical Commands: SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY
Engine Processing: The Logical Order of Execution (FROM/JOIN ➔ WHERE ➔ GROUP BY ➔ HAVING ➔ SELECT ➔ ORDER BY/LIMIT)
Mastering JOINs: INNER JOIN vs. LEFT JOIN (Venn Diagram Concept)
Live Practice Queries: Basic SELECT, multi-table JOINs, aggregations with GROUP BY, and finding Top 5 customers
Real-World Context: How BI Dashboards (Tableau/Looker) execute SQL under the hood
💻 Environment Setup & Live Coding Commands
(Practice along using sqliteonline.com by selecting PostgreSQL or SQLite from the left menu):
SQL-- Environment Setup
CREATE TABLE customers (
customer_id INT PRIMARY KEY,
name VARCHAR(50),
country VARCHAR(50)
);
INSERT INTO customers VALUES
(1, 'Alice', 'USA'), (2, 'Bob', 'UK'), (3, 'Charlie', 'USA'),
(4, 'David', 'India'), (5, 'Eve', 'UK'), (6, 'Frank', 'Canada');
CREATE TABLE orders (
order_id INT PRIMARY KEY,
customer_id INT,
amount DECIMAL(10,2),
order_date DATE
);
INSERT INTO orders VALUES
(101, 1, 250.00, '2023-10-01'), (102, 1, 150.00, '2023-10-05'),
(103, 2, 400.00, '2023-10-02'), (104, 3, 50.00, '2023-10-03'),
(105, 4, 600.00, '2023-10-04'), (106, 5, 300.00, '2023-10-06'),
(107, 4, 100.00, '2023-10-07');
-- Live Practice Queries
-- Query 1: Basic SELECT & WHERE
SELECT name, country FROM customers WHERE country = 'USA';
-- Query 2: JOINING tables
SELECT c.name, o.amount, o.order_date
FROM customers c
JOIN orders o ON c.customer_id = o.customer_id;
-- Query 3: Revenue per customer (Aggregations & GROUP BY)
SELECT c.name, SUM(o.amount) as total_revenue
FROM customers c
JOIN orders o ON c.customer_id = o.customer_id
GROUP BY c.name;
-- Query 4: Top 5 customers by revenue
SELECT c.name, SUM(o.amount) as total_revenue
FROM customers c
JOIN orders o ON c.customer_id = o.customer_id
GROUP BY c.name
ORDER BY total_revenue DESC
LIMIT 5;
Stay Connected With Us:
🌐 Website: https://www.codingmacaw.com
💼 LinkedIn: / coding-macaw-bootcamp
📸 Instagram: / codingmacaw
🐦 Twitter/X: https://x.com/CodingMacaw
#DataEngineering #SQL #PostgreSQL #CodingMacaw #RDBMS #Database #SQLTutorial #LearnSQL #TechCareers #DataEngineeringBootcamp