Contents

The Report

   Mar 26, 2023     0 min read

The Report

문제

The_Report1.jpg
The_Report2.jpg
The_Report3.jpg
The_Report4.jpg

코드

Oracle

SELECT CASE WHEN G.GRADE < 8 THEN NULL ELSE S.NAME
    , G.GRADE
    , S.MARKS
FROM STUDENTS S
    INNER JOIN GRADES G ON S.MARKS BETWEEN G.MIN_MARK AND G.MAX_MARK
ORDER BY G.GRADE DESC, NAME, S.MARKS;