Skip to content

Commit dfbfe87

Browse files
authored
Update find-interview-candidates.sql
1 parent 56c706d commit dfbfe87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQL/find-interview-candidates.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ WITH winners_cte AS
1111
(SELECT bronze_medal AS winner, contest_id
1212
FROM contests)),
1313
consecutive_winners_cte AS
14-
(SELECT winner, contest_id, row_number() over(PARTITION BY winner ORDER BY contest_id) AS row_num
14+
(SELECT winner, contest_id, row_number() OVER (PARTITION BY winner ORDER BY contest_id) AS row_num
1515
FROM winners_cte),
1616
candidates_cte AS
1717
((SELECT winner AS user_id

0 commit comments

Comments
 (0)