MySQL Forums
Forum List  »  Newbie

Reduce amount of rows
Posted by: Ole Mortensen
Date: June 28, 2012 03:18AM

Hello
I have a table containing a temperature logged every 5 seconds.
I want to reduce the amount of rows by only keeping the first and last record of every day and there between only the records when the value has changed.

Any idea how to do this?

Thanks in advance.

Ole M.

Options: ReplyQuote


Subject
Written By
Posted
Reduce amount of rows
June 28, 2012 03:18AM
June 28, 2012 03:59AM
June 29, 2012 06:26PM
June 30, 2012 05:56AM


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.