Po prostu odwróć LIKE SELECT * FROM customers WHERE 'Robert Bob Smith III, PhD.' LIKE CONCAT('%',name,'%')