MySQL SQL
MySQL IN
Match a value against a list or subquery.
SELECT * FROM products
WHERE category IN ('Laptop', 'Tablet');IN is shorter and clearer than repeating the same column with multiple OR conditions.
Continue learning
MySQL SQL
Match a value against a list or subquery.
SELECT * FROM products
WHERE category IN ('Laptop', 'Tablet');IN is shorter and clearer than repeating the same column with multiple OR conditions.
Continue learning