Hi Could you please some body help me to create script for below situation.
The below table captures employee daily login information. The table may have multiple
entries for the same day for one employee.
EmpId Date Timestamp
1 8:00 am 1-Jul-2018
1 9:00 am 1-Jul-2018
1 11:00 am 1-Jul-2018
1 4:00 pm 1-Jul-2018
2 8:15 am 1-Jul-2018
2 5:00 pm 1-Jul-2018
Please provide a script for reporting required in the below format. Sample data given
here.
Sample Output:
EmpId Date Time In Time Out " Total No. Of Hours
Spent in Office"
1 1-Jul-18 8:00 AM 4:00 PM 8
2 1-Jul-18 8:15 am 5:00 PM 8:45
Thanks,
Venugopal.S