Assuming I have a table that have a column "time" store the date stamp every five minutes , just like this :
time
20120701 00:00:00
20120701 00:05:00
20120701 00:10:00
20120701 00:15:00
....
but interval between the rows sometimes are longer than 5 minites, like
20120703 00:00:00
20120703 00:15:00
What I want to do is to find out all these time stamps that the interval between them is longer than 5 minutes.
Is that possible to find out the result with just one sql sentence.
Thanks for kind help!