I have a table IOData
as shown below
E Name Date Time Status
A1 08/06/14 19:36:10.00 Entry
A1 08/06/14 19:36:16.00 Exit
A1 08/06/14 19:36:18.00 Entry
A1 08/07/14 00:26:39.00 Exit
A1 08/07/14 00:38:36.00 Entry
A1 08/07/14 02:41:14.00 Exit
B1 08/07/14 19:12:29.00 Entry
B1 08/08/14 04:14:28.00 Exit
B1 08/08/14 04:14:31.00 Entry
B1 08/08/14 04:14:33.00 Exit
C1 08/06/14 19:26:10.00 Entry
C1 08/06/14 19:36:16.00 Exit
C1 08/06/14 19:36:50.00 Entry
C1 08/06/14 23:06:28.00 Exit
I want the output as first Entry and Last Exit as show below
EName Date Time Status
A1 08/06/14 19:36:10.00 Entry
A1 08/07/14 02:41:14.00 Exit
B1 08/07/14 19:12:29.00 Entry
B1 08/08/14 04:14:33.00 Exit
C1 08/06/14 19:26:10.00 Entry
C1 08/06/14 23:06:28.00 Exit
I have no Idea to perform this task. I have googled but no help. Please do the needful.
Thanks in advance