I'm tryin without success to get datas from a database between now and 7:00 am
I've tried this, it returns datas but it's the wrong ones for 7:00
SELECT *, MIN(AMBIENT_TEMPERATURE) AS min_temp,
MAX(AMBIENT_TEMPERATURE) AS max_temp
FROM WEATHER_MEASUREMENT
WHERE DATE(CREATED) = CURDATE() AND TIME(CREATED)>='07:00:00'
I think this is pretty easy but still too difficult for me.
thanks.
jerome