Write a solution to find the number of times each student attended each exam.
Return the result table ordered by student_id
and subject_name
.
The result format is in the following example.
Easy
보단 Medium
에 가깝지 않나...LEFT JOIN
을 통해 없는 결과값에 대해 0
을 가져와야 했다.SELECT S.student_id, S.student_name, U.subject_name, COUNT(E.student_id) AS attended_exams
FROM Students AS S JOIN Subjects AS U LEFT JOIN Examinations AS E
ON S.student_id = E.student_id AND U.subject_name = E.subject_name
GROUP BY 1, 3
ORDER BY 1, 3
Prepare for the https://www.dumpstool.com/SY0-701-exam.html Exam and boost your cybersecurity career! Our comprehensive study guides and practice exams provide in-depth coverage of all exam objectives, from threat management to cryptography. Whether you're a beginner or an experienced professional, our study materials will equip you with the knowledge and skills to ace the exam. Join our community of successful IT professionals and take the next step in securing your future. Start your journey to becoming CompTIA Security+ certified today!