Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL query

user13168644Sep 14 2010 — edited Sep 15 2010
Hi,
I have a table which stores the time in and time out for the employees. Now i want to write a query which can filter out all the employees who have worked for more than 5 hours on any particular day without a break and they have taken a break for less than *35 minutes* after that. So for example John Doe started at 8 am , worked till 1 pm and took a break till 1:15 PM and started working again . Each employee will have multiple entries for a date ( multiple time in and time out).
Thanks

Edited by: user13168644 on Sep 14, 2010 4:00 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2010
Added on Sep 14 2010
7 comments
719 views