SELECT title
FROM recipes r JOIN ingredients i ON r.ingredients LIKE concat('%', i.name, '%')
MySQLは奇妙で、concatを使用させます 文字列を連結する演算子。他のほとんどは||を使用します
SELECT title
FROM recipes r JOIN ingredients i ON r.ingredients LIKE concat('%', i.name, '%')
MySQLは奇妙で、concatを使用させます 文字列を連結する演算子。他のほとんどは||を使用します