diff --git a/course-content/step4.md b/course-content/step4.md index 01592d7..cbb9ba1 100644 --- a/course-content/step4.md +++ b/course-content/step4.md @@ -223,7 +223,7 @@ SELECT ) AS eth_buy_qty, SUM( CASE - WHEN ticker = 'BTC' AND txn_type = 'SELL' THEN quantity + WHEN ticker = 'ETH' AND txn_type = 'SELL' THEN quantity ELSE 0 END ) AS eth_sell_qty @@ -504,4 +504,4 @@ ORDER BY sold_eth_quantity DESC; | c9f0f8 | 2020-11-01 | 15.931855129247867 | [![forthebadge](./../images/badges/go-to-previous-tutorial.svg)](https://github.com/datawithdanny/sql-masterclass/tree/main/course-content/step3.md) -[![forthebadge](./../images/badges/go-to-next-tutorial.svg)](https://github.com/datawithdanny/sql-masterclass/tree/main/course-content/step5.md) \ No newline at end of file +[![forthebadge](./../images/badges/go-to-next-tutorial.svg)](https://github.com/datawithdanny/sql-masterclass/tree/main/course-content/step5.md)