Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
kond.mohan
Posting Yak Master
213 Posts |
Posted - 2012-06-12 : 07:30:41
|
Dear allthis is my table structureid attendencedate status ...10 2012/mar/10 w 10 2012/mar/11 w 10 2012/mar/12 PL (PAID LEAVE10 2012/mar/13 w 10 2012/mar/14 A (ABSENT)10 2012/mar/15 A 10 2012/mar/16 A 10 2012/mar/17 PL10 2012/mar/18 A10 2012/mar/19 A10 2012/mar/20 A10 2012/mar/21 A10 2012/mar/22 Ahere i want to know the employee 3 or more than 3 days continously ABSENTSTATUS 'a' DENOTES ABSENTabove mentionED data id 10 is 2012-mar-14 to 2012-MAR-16 2012-MAR-18 TO 2012-MAR-22 CONTINUSLY ABSENTANY BODY KNOW THE LOGIC pls explainme |
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2012-06-12 : 07:46:06
|
quote: Originally posted by kond.mohan Dear allthis is my table structureid attendencedate status ...10 2012/mar/10 w 10 2012/mar/11 w 10 2012/mar/12 PL (PAID LEAVE10 2012/mar/13 w 10 2012/mar/14 A (ABSENT)10 2012/mar/15 A 10 2012/mar/16 A 10 2012/mar/17 PL10 2012/mar/18 A10 2012/mar/19 A10 2012/mar/20 A10 2012/mar/21 A10 2012/mar/22 Ahere i want to know the employee 3 or more than 3 days continously ABSENTSTATUS 'a' DENOTES ABSENTabove mentionED data id 10 is 2012-mar-14 to 2012-MAR-16 2012-MAR-18 TO 2012-MAR-22 CONTINUSLY ABSENTANY BODY KNOW THE LOGIC pls explainme
Is this the same problem as what you posted in http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=175672 ?People who moderate this forum frown upon people posting the same question to more than one thread. |
|
|
|
|
|