SQL: Find the last name of all employees, without duplicates
SQL Basic Select Statement : Exercise-31 with Solution.
Write a query in SQL to find the last name of all employees, without duplicates.
Sample table: emp_details
SELECT DISTINCT emp_lname FROM emp_details;
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
What is the difficulty level of this exercise?