hi, i have a sitaution where i need to compare time in two diff rows,its like this
categoryid item_id group date
1 10 abc 2008-03-07 03:02:00
1 35 bcd 2008-04-03 10:03:00
2 13 cde 2008-03-13 07:18:00
2 40 ced 2008-03-13 08:41:00
2 44 cef 2008-03-13 09:41:00
i need to find the time diff for row one and row 2 - they fall under cat one ... and it is under it continue and cat1