Skip to content

line 226 correction on ticker #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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)