Answers for "Write an SQL query to fetch details of employees whose name starts with an alphabet 'A' and contains 10 alphabets."

2

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
Posted by: Guest on June-13-2020
0

Write an SQL query to fetch details of employees whose name starts with an alphabet 'A' and contains 10 alphabets.

select employee_name 
from employees
where employee_name LIKE 'A%' OR employee_name LIKE 'B%' AND length(employee_name) >11
order by employee_name
Posted by: Guest on August-31-2021

Code answers related to "Write an SQL query to fetch details of employees whose name starts with an alphabet 'A' and contains 10 alphabets."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language