I have to find overtime hours where employee was called to work immediately. There are following field in database: datetime, employee, salary type. To the field salary type is marked overtime 50%, overtime 100% or alarm. I have to find overtime rows where same employee has marked alarm to same day. How can I do that?