Hello coders, today we are going to solve Employee Names HackerRank Solution in SQL.
Write a query that prints a list of employee names (i.e.: the name attribute) from the Employee table in alphabetical order.
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.
Angela Bonnie Frank Joe Kimberly Lisa Michael Patrick Rose Todd
Solution – Employee Names in SQL
SELECT name FROM employee ORDER BY name;
Disclaimer: The above Problem (Employee Names) is generated by Hacker Rank but the Solution is Provided by CodingBroz. This tutorial is only for Educational and Learning Purpose.