[mysql]: #_genJoin() method generates sql for multiple constraints and multiple joins