Viewing 9 posts - 1 through 9 (of 9 total)
Thank you all. Appreciate all of your knowledge. Thanks again!
December 16, 2012 at 5:50 am
Thanks to everyone for their help! Just learned a heck of a lot. Thanks again!
August 6, 2012 at 7:27 pm
Here is what I have so far.
Select person.id as ID_Number,lastname,firstname, count(datediff(day,jobstartdate,jobenddate)) as Absent_Count
from Person
inner join job
on person.id =job.employeeid
where purgeid = 0
group by Id_Number, lastname, firstname
order by ID_Number asc
August 5, 2012 at 6:35 pm
Jeff Moden (12/26/2010)
pkaraffa (12/26/2010)
December 27, 2010 at 8:54 am
Thanks andrewd.smith that worked very well for a small amount of data (actually great) but I am dealing with over 500,000 rows and about a thousand different dates. LutzM I...
December 26, 2010 at 9:33 am
Old Hand
That is it thank you both so much! I appreciate all of the help and guidance that you have given me!
December 21, 2010 at 3:32 pm
Thanks you so much for responding. That is close but the attendace table has true and false in which when I run the first statement it will give me something...
December 21, 2010 at 1:59 pm
Viewing 9 posts - 1 through 9 (of 9 total)