Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 신경쓰기의 기술
- forecast
- HackerRank
- ModelCheckPoint
- pandas profiling
- 당신의 인생이 왜 힘들지 않아야 한다고 생각하십니까
- 프로그래머스
- TensorFlowGPU
- kaggle
- 코딩테스트연습
- MS SQL Server
- Gaimification
- tensorflow
- 데이터분석
- 파이썬
- Labor Management System
- 코딩테스트
- ProfileReport
- leetcode
- 피그마인디언
- 웨어하우스 보관 최적화
- Product Demand
- SQL
- eda
- Inventory Optimization
- ABC Analysis
- MySQL
- SKU Consolidation
- oracle
- 딥러닝
Archives
- Today
- Total
오늘도 배운다
Higher Than 75 Marks / HackerRank, SQL, MySQL 본문
문제
Query the Name of any student in STUDENTS who scored higher than 75 Marks. Order your output by the
last three characters of each name. If two or more students both have names ending in the same last three characters (i.e.: Bobby, Robby, etc.), secondary sort them by ascending ID.
Input Format
The STUDENTS table is described as follows:
The Name column only contains uppercase (A-Z) and lowercase (a-z) letters.
제출답안(MySQL)
SELECT name FROM students
WHERE marks >75
ORDER BY RIGHT(name, 3), ID
문제 바로가기(MySQL)
728x90
'코딩테스트연습(SQL)' 카테고리의 다른 글
The PADS / HackerRank, SQL, MySQL (0) | 2022.12.05 |
---|---|
Type of Triangle / HackerRank, SQL, MySQL (0) | 2022.12.04 |
Weather Observation Station 12 / HackerRank, SQL, MySQL (0) | 2022.12.01 |
Weather Observation Station 11 / HackerRank, SQL, MySQL (0) | 2022.12.01 |
Weather Observation Station 10 / HackerRank, SQL, MySQL (0) | 2022.12.01 |
Comments