I have a mysql database that contains three pieces of data; time date stamp, temperature and location of sensor. Every day I would like to maintain the data and only keep historical low,high and average temperature in my database from the past. What functionality within mysql should I be looking at to do this?
Thanks