I have 3 tables.
Table 1 has 2 fields : Time/Value
Table 2 has 2 fields : Time/Value
Table 3 has 1 field : Time
I want to find, for each Time in Table 3, the Value in Table 1 and Table 2 which is the closest to the Time field.
Time precision in Table1 and 2 is around millisecond. Time precision in Table3 is 1 second.
Is it possible to do so in a SQL query without having to parse the tables with a loop myself?