Description

Tuple comparison has the semantics I need, but it confuses MySQL's optimizer. This code returns SQL equivalent to tuple comparison.