Back to Browse

SQL Problem: Calculate Discount Losses by Year Using Joins & Aggregation

16 views
May 15, 2025
7:48

In this video, we tackle a real-world SQL problem: how to calculate the total money a company lost due to discounts each year using multi-table JOINs, aggregation functions, and date functions. 🔍 What you’ll learn: Using JOIN to combine data from multiple tables Calculating discount impact using SUM() and ROUND() Extracting year from dates with YEAR() Organizing data with GROUP BY and sorting results 📌 SQL Concepts Covered: JOIN, GROUP BY, ORDER BY, ROUND(), SUM(), YEAR(), and basic cost calculations.

Download

0 formats

No download links available.

SQL Problem: Calculate Discount Losses by Year Using Joins & Aggregation | NatokHD