일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Sigmoid
- stak
- 딥러닝
- kakao
- FullyConnectedLayer
- select
- SQL
- Word2vec
- Programmers
- 신경망
- hash
- affine
- 프로그래머스
- boj
- 파이썬
- 자연어처리
- backward
- dl
- Heap
- sort
- Numpy
- PPMI
- Python
- CBOW
- que
- Stack
- skip-gram
- DeepLearning
- algorithm
- MySQL
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Employee Names (MySQL) 본문
https://www.hackerrank.com/challenges/name-of-employees/problem?isFullScreen=true
문제
Write a query that prints a list of employee names (i.e.: the name attribute) from the Employee table in alphabetical order.
Input Format
The Employee table containing employee data for a company is described as follows:
where employee_id is an employee's ID number, name is their name, months is the total number of months they've been working for the company, and salary is their monthly salary.
Sample Input
Sample Output
Angela
Bonnie
Frank
Joe
Kimberly
Lisa
Michael
Patrick
Rose
Todd
풀이
select name from employee order by name
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Type of Triangle (MySQL) (0) | 2022.08.10 |
---|---|
[HackerRank] Employee Salaries (MySQL) (0) | 2022.08.09 |
[HackerRank] Higher Than 75 Marks (MySQL) (0) | 2022.08.09 |
[HackerRank] Weather Observation Station 12 (MySQL) (0) | 2022.08.09 |
[HackerRank] Weather Observation Station 11 (MySQL) (0) | 2022.08.09 |
Comments