HR-SQL The Report

Jmnote (토론 | 기여)님의 2018년 8월 16일 (목) 23:52 판

1 개요

HR-SQL The Report
해커랭크 SQL
문제 DB2 MS SQL MySQL Oracle
HR-SQL Basic Join e
HR-SQL Asian Population
HR-SQL African Cities
HR-SQL Average Population of Each Continent
HR-SQL The Report
HR-SQL Top Competitors
HR-SQL Ollivander's Inventory
HR-SQL Challenges
HR-SQL Contest Leaderboard

2 MySQL

SELECT
    CASE WHEN Grade<8 THEN NULL ELSE Name END,
    Grade, Marks
FROM Students AS S
JOIN Grades AS G ON (S.Marks BETWEEN G.Min_Mark AND Max_Mark)
ORDER BY Grade DESC, Name
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}