Is there any performance benefit in adding a LIMIT to an EXISTS query, or would MySQL apply the limit on its own?
LIMIT
EXISTS
Example:
IF E
Fiddling with my query a bit, I noticed that EXISTS still returns 1 if LIMIT is set to 0. I assume this indicates that it's being ignored.