I am trying to left join a Notes table where the user would upload Notes on certain time of each day onto a Score table with a date and time. The dates need to be the same, but I need to choose match each time in Notes with the closest less-than/equal to time in the Scores table. Here is an example of what to expect:
How to join two tables with same date but different time such that the closest time is chosen?
Nikhil Budathoki
- 3
- 2