MySQL Forums
Forum List  »  German

Re: Zeitraum von - bis
Posted by: Alexander Kainz
Date: April 30, 2019 07:00AM

selbst gelöst:

SELECT MIN(AT) FROM temp_messungen WHERE DATE(Datum) = SUBDATE(DATE(NOW()),INTERVAL 1 DAY) AND HOUR(Datum) >= '18:00' OR DATE(Datum) = SUBDATE(DATE(NOW()),INTERVAL 0 DAY) AND HOUR(Datum) <= '05:19'

Options: ReplyQuote

Written By
April 30, 2019 01:51AM
Re: Zeitraum von - bis
April 30, 2019 07:00AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.