Absent Employee Report Query [message #569020] |
Thu, 18 October 2012 13:34 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/0e5074e8406a60450fa75ecec52bb509?s=64&d=mm&r=g) |
arain.jobs@gmail.com
Messages: 4 Registered: October 2012 Location: Pakistan
|
Junior Member |
|
|
Hi Experts!
I have a requirement that I need to create a report for absent employee, kindly note that we have "Hand Punch" scaning system for attendance, when a employee scan his hand it put a record with the employee id, date, shift, & time.
Now I need to create a report for absent employees in date range, can any body hint/help me to create this report.
[Updated on: Fri, 19 October 2012 08:14] Report message to a moderator
|
|
|
|
Re: Absent Employee Report Query [message #570137 is a reply to message #569115] |
Mon, 05 November 2012 21:22 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
xpact83
Messages: 225 Registered: October 2008 Location: philippines
|
Senior Member |
|
|
select e.emp_id
from employees e
where not exists (select 1
from hand_punch h
where h.emp_id = e.emp_id
and h.date_column between to_date('20.10.2012 07:00', 'dd.mm.yyyy')
and to_date('20.10.2012 07:30', 'dd.mm.yyyy')
)
|
|
|