Skip to content

Commit 897e5d3

Browse files
committed
fixing
1 parent 30de742 commit 897e5d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ These are scripts that answer questions from <a href="https://leetcode.com">leet
3333
| [Game Play Analysis IV](https://leetcode.com/problems/game-play-analysis-iv/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/game-play-analysis-iv.sql) |
3434
| [Investments In 2016](https://leetcode.com/problems/investments-in-2016/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/investments-in-2016.sql) |
3535
| [Friend Requests II: Who Has the Most Friends](https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends/description/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/friend-requests-ii-who-has-the-most-friends.sql)|
36-
| [Odd And Even Transactions](https://leetcode.com/problems/odd-and-even-transactions/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/odd-and-even-transactions.sql) |
37-
| [Confirmation Rate](https://leetcode.com/problems/confirmation-rate/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/confirmation-rate.sql)) |
36+
| [Odd And Even Transactions](https://leetcode.com/problems/odd-and-even-transactions/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/odd-and-event-transactions.sql |
37+
| [Confirmation Rate](https://leetcode.com/problems/confirmation-rate/) | [Solution](https://github.com/mdh266/SQL-Practice/blob/master/leetcode/confirmation-rate.sql) |
3838

3939

4040

leetcode/odd-and-event-transactions.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
SELECT
12
transaction_date,
23
SUM(CASE WHEN amount % 2 = 1 THEN amount ELSE 0 END) AS odd_sum,
34
SUM(CASE WHEN amount % 2 = 0 THEN amount ELSE 0 END) AS even_sum

0 commit comments

Comments
 (0)