Re: [DogTags] Mysql - query - sorting by field, but I want only certain values in that field
Code:
SELECT * FROM tickets WHERE (subject LIKE '%fred% OR subject LIKE %dog%') AND (name LIKE '%ethel% OR name LIKE %bone%') ORDER BY subject, name LIMIT 0, 2000