Skip to content

Commit b304b0a

Browse files
authored
Create accepted-candidates-from-the-interviews.sql
1 parent 7342ce9 commit b304b0a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Time: O(m + n)
2+
# Space: O(m + n)
3+
4+
SELECT candidate_id
5+
FROM Candidates as a
6+
INNER JOIN Rounds as b
7+
ON a.interview_id = b.interview_id
8+
WHERE years_of_exp >= 2
9+
GROUP BY candidate_id
10+
HAVING SUM(score) > 15
11+
ORDER BY NULL;

0 commit comments

Comments
 (0)