Prepare > SQL > Basic Select > Employee Names

2023. 7. 14. 19:49HackerRank-My SQL

 

Employee Names | HackerRank

Print employee names.

www.hackerrank.com

 

문제


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;

 

 

두 번째 시도

SELECT NAME FROM EMPLOYEE
ORDER BY NAME ASC;
  • 똑같네..ㅇㅇ