I am new @ sql , table name CHECKINOUT DB Name NEWFP i need to delete all record where the checktime between it from 1 to 5 minute or the same and must be the same user id but keep the fires record
USERID CHECKTIME CHECKTYPE VERIFYCODE [SENSORID] WorkCode SN102014-06-3019:17:37.000 I 010000102014-06-3019:18:42.000 I 010000102014-06-3019:19:46.000 I 010000102014-06-3020:17:58.000 I 010000102014-06-3020:20:46.000 I 010000
to be
USERID CHECKTIME CHECKTYPE VERIFYCODE [SENSORID] WorkCode SN102014-06-3019:17:37.000 I 010000102014-06-3020:17:58.000 I 010000