본문 바로가기
DB/SQL

Employee Names

by _S0_H2_ 2020. 6. 19.
728x90
반응형

문제 : Write a query that prints a list of employee names (i.e.: the name attribute) from the Employee table in alphabetical order.

 

SELECT name
FROM Employee
ORDER BY name asc;

 

728x90
반응형

'DB > SQL' 카테고리의 다른 글

Type of Triangle  (0) 2020.06.19
Employee Salaries  (0) 2020.06.19
Higher Than 75 Marks  (0) 2020.06.19
HackerRank_16. Weather Observation Station 10  (0) 2020.06.12
HackerRank_15. Weather Observation Station 9  (0) 2020.06.11