Mysql
 sql >> Base de données >  >> RDS >> Mysql

Instruction MYSQL IN

SELECT Item
    FROM YourTable
    WHERE categories IN ('red', 'blue', 'green')
    GROUP BY Item
    HAVING COUNT(DISTINCT categories) = 3