Albatross
Platinum Member
So here is some sample data
http://sqlfiddle.com/#!2/5e844
I want the id of the employee which is present (status='P') at least 5 days in a row.So for the sample data,1 and 4.I already solved it,I`ll post the answer later.If you post the answer as text use spoilers.:awe:
http://sqlfiddle.com/#!2/5e844
I want the id of the employee which is present (status='P') at least 5 days in a row.So for the sample data,1 and 4.I already solved it,I`ll post the answer later.If you post the answer as text use spoilers.:awe:
Last edited: