get first letter of department name in sql code example
Example 1: how to find employee names starts with in sql
• SELECT * FROM Employees
WHERE emp_name LIKE 'A%' ;
select employee_name
from employees
where employee_name LIKE 'A%' OR employee_name LIKE 'B%'
order by employee_name
Example 2: employee name starting with in sql
• SELECT * FROM Employees
WHERE emp_name LIKE 'A%' ;