I have this and it works brilliantly
`PD`.`Salesforce Account ID` AS Account_ID,
`PD`.`Company Product Salesforce ID` AS Product_ID,
`PD`.`Salesforce Account Name` AS Account_Name,
`PD`.`Company Product Name` AS Product_Name
FROM
`Product Details` AS `PD`
INNER JOIN
`Product Standards` AS `PS` ON (`PD`.`Company Product Salesforce ID` = `PS`.`Company Product Salesforce ID`)
WHERE
`PD`.`Publish to Website` = '1'
AND `PD`.`Record Type Name` = 'SBD'
AND `PD`.`Product Category` = 'Doors'
AND `PD`.`Product Type` REGEXP '[[:<:]]Automatic Sliding powered[[:>:]]'
GROUP BY `Account_Name`
ORDER BY Account_Name ASC
But it all goes wrong when the text to match has brackets like this
REGEXP'[[:<:]]Automatic Sliding (powered)[[:>:]]'
I have tried escaping with \ and \ but without success. I need the word boundary. Does anyone know how to escape the brackets in MySQL regexp