|
Easy to do using LIKE in your where clause. For example, if you want to return the records in a given table where the "Name" field value for that record starts with 'M', you'd do something like:
SELECT * FROM users WHERE name LIKE 'A%'
% is a wild card. SO you could do '%ING' to get everything ending in ING, or '%RT%' to get everything that has 'RT' anywhere in it, etc.
|