Compare two tables and retreive relevant rows from one table based on the other.
I have 2 tables.Table 1: Timestamp (in 15 minute intervals),i1,i2,i3,p1,p2,p3,p4,.... (182 columns)Table 2: Year, Month, Date, StartTime, EndTime ( StartTime and EndTime is in the format- h:m am/pm)I would like to select all 182 columns and only the rows in Table1 which lies between StartTime and EndTime of Table2 and make a subset.Note:StartTime and EndTime for every date in Table2 could lie any...