Query all employe names from Employee table in alphabetical order using ORDER BY

Query all employe names from Employee table in alphabetical order using ORDER BY

Instructor-svgAl-Mamun Sarkar
Mar 28 , 2020

Query all employe names from the Employee table in alphabetical order using ORDER BY. This is the solution of HackerRank's Employee Names SQL problem.

Table name: employee

SQL Query:

SELECT name 
FROM employee
ORDER BY name ASC

 

  • Share On:
  • fb
  • twitter
  • pinterest
  • instagram