Skip to content

Commit

Permalink
Update : remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
srlee056 committed Jan 23, 2024
1 parent 981f82d commit 461a35b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/post/CodingTest/240123-sql/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ The result format is in the following example.
- before refactoring

```sql
# Write your MySQL query statement below
select round(count(distinct r.player_id) / count(distinct a.player_id),2) as fraction
from Activity a
left join(
Expand All @@ -69,7 +68,7 @@ LEFT JOIN (
SELECT player_id, MIN(event_date) + INTERVAL 1 DAY AS next_day
FROM Activity
GROUP BY player_id
) r ON a.player_id = r.player_id AND a.event_date = r.next_day
) r ON a.player_id = r.player_id AND a.event_date = r.next_day;
```

![](image-2.png)
Expand Down

0 comments on commit 461a35b

Please sign in to comment.