I have the following queries in MySQL:
1st: Using multiple OR
SELECT SUM(qtd)
FROM
produtos
WHERE
qtd > 10
and (status = '0' or status = '4' or status = '7')
2nd: Using IN
SELECT SUM(qtd)
FROM
produtos
WHERE
qtd > 10
and status IN (0,4,7)
Which query will perform best? Will both of these be the same data or difference?