Display the details of the items starting with a particular letter code example
Example 1: sql print all names that start with a given letter
select employee_name
from employees
where employee_name LIKE 'A%' OR employee_name LIKE 'B%'
order by employee_name
Example 2: 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