Im very new to SQL, thus excuse if this sounds stupid. I have two queries.
First
SELECT
  Tap_Back.*
FROM Tap_Back
WHERE Tap_Back.time > '2018-01-23'
Second
SELECT  
  readingdates.readdate  
FROM readingdates  
WHERE readingdates.readdate <= CURRENT_DATE()  
ORDER BY readingdates.readdate DESC  
LIMIT 1
Thus instead of hard coding the date in the First , I want to read it from a different table.
 
     
     
    