May 19, 2008 at 2:09 pm
I have time fields like Overtime,WorekdTime,VacationTime,DoubleTime and a date field.
How can i sort them so that I have to aggregate all the hours and count the no of hours worked according to the date.
May 19, 2008 at 2:24 pm
You would need to provide some more details, like examples of what's needed and also make an attempt to do this in a query.
It sounds like a test question or homework and we prefer you try to do it and we can help you understand what is working or isn't working.
May 19, 2008 at 2:59 pm
Mike,
Here's a good link that'll help you get better help with your questions.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 19, 2008 at 6:00 pm
Actually I need A query where i get
No of hours of each employee by the day and by the type of hours.
May 20, 2008 at 1:14 am
Actually, we still need a Create Table statement, and some data. Otherwise, we're just guessing as to what your data actually looks like.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 20, 2008 at 8:45 am
Mike,
Read the link. It is an article on how to post a good forum thread so that we are able to help you more effectively. If you follow the suggetions in the link, helping you will be a cinch. Otherwise, we are left to guessing at what you want like Jeff has pointed out.
May 20, 2008 at 10:03 am
I guess we are expected to be mind readers here. Of course, if we were, we'd all be VERY SUCCESSFUL CONTRACTORS commanding TOP DOLLAR! :hehe:
Not here, unfortunately...
😎
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply