Switch to using 'job_id in (a, b)' clause instead of 'job_id = a || job_id = b'.
Logically equivalent, but fewer characters and easier to read. Appears to have a slight performance advantage in testing. MySQL has no limit on the number of elements in a () clause. Bug 2875.
Please register or sign in to comment