Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions course-content/step4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
[![forthebadge](./../images/badges/go-to-next-tutorial.svg)](https://github.com/datawithdanny/sql-masterclass/tree/main/course-content/step5.md)