Viewing 12 posts - 16 through 27 (of 27 total)
Going back to original Query posted in the question, here is the issue. Notice my sick hours aren't tallying up because I hardcoded ONE date. I want to replace...
July 13, 2015 at 3:50 pm
thank you guys, I did make progress based on your suggestions but I removed the aliases names from the date. Here is the updated sql query. Now i"m getting...
July 13, 2015 at 8:26 am
Wayne, I do appreciate your constant assistance.
Unfortunately it is still giving me that error even with P. Also I do need to iterate thought the dates from the pay...
July 13, 2015 at 8:06 am
Yes that is the idea but its giving me syntax error "The multi-part "Pr.Date" could not be bound."
Thank you!
July 10, 2015 at 3:26 pm
works great..thanks!
July 10, 2015 at 2:36 pm
Thank you so much for taking out the time. Everything works perfectly!
Thanks again!
March 16, 2015 at 4:35 pm
...
Where (e.status='A' or pr.Hours > 0) and e.pay_type=1
...[/quote]
I came across another snag. 🙁 There is also another column "Validated hour" which is just a sum of hours (Pay...
March 16, 2015 at 3:54 pm
ScottPletcher (3/16/2015)
...
ORDER BY CASE WHEN pr.hours > 0 THEN 1 ELSE 2 END, Name
Excellent.
One final Question. The Employee table also has status. Active or Terminated. I want to...
March 16, 2015 at 1:59 pm
ScottPletcher (3/16/2015)
March 16, 2015 at 1:14 pm
This looks really good. Much simpler. Question is how do I show the employees at the bottom of the list whose hours are 0. I want to sort by Name...
March 16, 2015 at 1:11 pm
MADAdmin. Thanks for your reply
That didn't work for me. I'm getting same result set after left joining. I'm not getting the employees from the other table that don't exist in...
March 16, 2015 at 12:53 pm
Excellent! Thank you so much!
March 12, 2015 at 11:09 am
Viewing 12 posts - 16 through 27 (of 27 total)