Error in executing INSERT INTO tmp (town) SELECT town FROM WHERE county = 'neath port talbot county borough' AND country = 'wales' AND categories LIKE '%H%' query

error:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE county = 'neath port talbot county borough' AND country = 'wales' AND cate' at line 1