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
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
sql string starts with
-- Case insensitive
SELECT * FROM my_table WHERE upper(my_column) LIKE 'SEARCHED %'; -- starts with
SELECT * FROM my_table WHERE upper(my_column) LIKE '% SEARCHED'; -- ends with
SELECT * FROM my_table WHERE upper(my_column) LIKE '%SEARCHED%'; -- contains
employee name starting with in sql
• SELECT * FROM Employees
WHERE emp_name LIKE 'A%' ;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us