Joining two MySQL tables where timestamp is not same in both
I have two tables 'poolTemp' and 'weather'. Both tables contain the columns "timeStamp" and "tempC". I want to join the tables with both "tempC" but only when poolTime.timeStamp is within 5 minutes of weather.timeStamp poolTemp.timeStamp data is recorded up to…