Pon a prueba tu SQL en un proyecto real de portafolio: modela un esquema de ventas, escribe consultas analíticas (tendencias, top-N por categoría y cohortes) con funciones de ventana y CTEs, y comunica tus hallazgos con visualizaciones. Terminas con un análisis end-to-end que puedes mostrar.
A sample lesson
CREATE TABLE categories (
category_id INT PRIMARY KEY,
name TEXT NOT NULL
);
CREATE TABLE products (
product_id INT PRIMARY KEY,
category_id INT NOT NULL REFERENCES categories(category_id),
name TEXT NOT NULL,
unit_price NUMERIC(10,2) NOT NULL -- precio de catalogo actual
);
CREATE TABLE customers (
customer_id INT PRIMARY KEY,
name TEXT NOT NULL,
country TEXT,
signup_date DATE NOT NULL
);
CREATE TABLE orders (
order_id INT PRIMARY KEY,
customer_id INT NOT NULL REFERENCES customers(customer_id),
order_date DATE NOT NULL,
status TEXT NOT NULL -- p.ej. 'completed', 'cancelled'
);
CREATE TABLE order_items (
order_item_id INT PRIMARY KEY,
order_id INT NOT NULL REFERENCES orders(order_id),
product_id INT NOT NULL REFERENCES products(product_id),
quantity INT NOT NULL CHECK (quantity > 0),
unit_price NUMERIC(10,2) NOT NULL -- precio congelado al comprar
);No reviews for this course yet.
Courses and skills worth covering first to get the most out of this one (a suggestion, not a requirement).
By completing this course you'll have worked on these skills:
Mastering this course brings you closer to these skills.
This course is part of broader learning paths.
Free
Free