Search for a range of characters
suggest changeThe following statement matches employees whose FName starts with a letter from A to F. A character class in LIKE is SQL Server syntax, not standard SQL. See the Employees table.
SELECT * FROM Employees WHERE FName LIKE '[A-F]%'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents