LIKE

    1. WHERE CustomerName LIKE 'a%'; //The following SQL statement selects all customers with a CustomerName starting with "a"
    2. WHERE CustomerName LIKE '%a'; //The following SQL statement selects all customers with a CustomerName ending with "a"
    3. > SELECT * FROM Customers
    4. > SELECT * FROM Customers
    5. WHERE CustomerName LIKE '_r%'; //The following SQL statement selects all customers with a CustomerName that have "r" in the second position
    6. > SELECT * FROM Customers
    7. WHERE CustomerName LIKE 'a__%'; //The following SQL statement selects all customers with a CustomerName that starts with "a" and are at least 3 characters in length
    8. > SELECT * FROM Customers
    9. WHERE ContactName LIKE 'a%o'; //The following SQL statement selects all customers with a ContactName that starts with "a" and ends with "o"
    10. > SELECT * FROM Customers