... table1.variable - table2.variable < (integer value 1) AND table1.variable - table3.variable < (integer value 2)...