Check out example codes for "sql print all names that start with a given letter". It will help you in understanding the concepts better.

Code Example 1

select employee_name 
from employees
where employee_name LIKE 'A%' OR employee_name LIKE 'B%'
order by employee_name

Learn ReactJs, React Native from akashmittal.com