Draai gewoon de LIKE om SELECT * FROM customers WHERE 'Robert Bob Smith III, PhD.' LIKE CONCAT('%',name,'%')