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 |
Tags
- 프로그래머스
- 데이터분석
- 피그마인디언
- SQL
- ABC Analysis
- TensorFlowGPU
- pandas profiling
- 신경쓰기의 기술
- HackerRank
- Gaimification
- ProfileReport
- tensorflow
- MS SQL Server
- Labor Management System
- SKU Consolidation
- 웨어하우스 보관 최적화
- 당신의 인생이 왜 힘들지 않아야 한다고 생각하십니까
- 코딩테스트
- oracle
- Inventory Optimization
- Product Demand
- MySQL
- leetcode
- eda
- 코딩테스트연습
- 파이썬
- forecast
- 딥러닝
- ModelCheckPoint
- kaggle
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