select table1 order field1 join table2 order field1 where table1.field1 = table2.field1 && table2.field2 = table3.field2