MYSQL - Difference between IN and EXIST
MySql question: What is the difference between [NOT] IN and [NOT] EXIST when doing subqueries in MySql. EXISTS EXISTS literally is for checking for the existence of specified criteria. In current standard SQL, it will allow you to specify more than one criteria for comparison - IE if you want to know when col_a and col_b both match - which makes it a little stronger than the IN clause. MySQL IN supports tuples, but the syntax is not portable, so EXISTS is a better choice both for readability and portability. The other thing to be aware of with EXISTS is how it operates - EXISTS returns a