I created a simple query that retrieves a group of records based on the first character of the last name specified in the Select Statement, like such:
SELECT EmployeeID, LastName, FirstName
FROM Employee
WHERE LName LIKE 'a%'
However, what I'm really looking to do is retrieve all records based on what letters I specify in the SELECT statement. If I wanted to retrieve all records for people with the last name that start with A, B, C, AND D. How would I tweak the preceding SQL statement to retrieve all matching records that the last name starts with A, B, C, AND D?
Thanks in advance!!!
SELECT EmployeeID, LastName, FirstName
FROM Employee
WHERE LName LIKE 'a%'
However, what I'm really looking to do is retrieve all records based on what letters I specify in the SELECT statement. If I wanted to retrieve all records for people with the last name that start with A, B, C, AND D. How would I tweak the preceding SQL statement to retrieve all matching records that the last name starts with A, B, C, AND D?
Thanks in advance!!!