Which mysql construct is faster?

Posted by Olaseni on Stack Overflow See other posts from Stack Overflow or by Olaseni
Published on 2010-06-01T03:59:14Z Indexed on 2010/06/01 4:03 UTC
Read the original article Hit count: 186

Filed under:
|
|
SELECT ..WHERE COL IN(A,B) or SELECT ... WHERE (COL = A or COL = B)

I'm trying to find out what are the differences between the two constructs? Would there be significant performance gains either way if utilized on resultsets that are nearing the 1 million mark?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql