Guten Tag,
SELECT MIN(Temperatur) FROM my_table WHERE DatumZeit > NOW() -INTERVAL 1 YEAR
Was sagt
SELECT MIN(Temperatur), DatumZeit FROM my_table WHERE DatumZeit > (NOW() - INTERVAL 1 YEAR)
Gruß
Christoph Jeschke
--
Zend Certified Engineer
Certified Urchin Admin
Zend Certified Engineer
Certified Urchin Admin