My table looks like this:
+-----------+
| id | <- primary key
| time | <- DateTime
| row2 | <- varchar
| row3 |
| ... |
+-----------+
I want to remove all entries, except one, which are within a timeframe of one full hour and have the same value of row2 (distinct row2). Is it possible to do this without a stored procedure and/or non-sql code?