cjkenworthy
Programmer
We have records in the following manner:
Record CreatedBy TimeCreated
1 Chris 13:30
2 Chris 12:12
3 Chris 13:31
4 Chris 12:14
5 Chris 09:34
I want to run a query that will fetch all records for a user where the TimeCreated is within 1 minute of another record, so for example this would retrieve:
Record CreatedBy TimeCreated
2 Chris 12:12
4 Chris 12:14
1 Chris 13:30
3 Chris 13:31
How can I do this row by row comparison - an ORDER BY' query would work, but it there are too may rows.
Record CreatedBy TimeCreated
1 Chris 13:30
2 Chris 12:12
3 Chris 13:31
4 Chris 12:14
5 Chris 09:34
I want to run a query that will fetch all records for a user where the TimeCreated is within 1 minute of another record, so for example this would retrieve:
Record CreatedBy TimeCreated
2 Chris 12:12
4 Chris 12:14
1 Chris 13:30
3 Chris 13:31
How can I do this row by row comparison - an ORDER BY' query would work, but it there are too may rows.