By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,766 Members | 1,295 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,766 IT Pros & Developers. It's quick & easy.

Get employee with least work

P: 1
i have a table as follows:

create table "ITMS_JobCardActorStatusHistory" (
"jobCardNo" int identity not null,
"issueID" int not null,
"assignedTo" char(5) not null, /*this is emp id*/
"assignedDate" datetime not null,
"closedDate" datetime null,
"jobFixDescription" varchar(100) null,
"estimatedTime" int null)

I need to get the employee with least work, i.e, the employee with least number of enteries in this table. How can i do it? Please help me out.
Thanks in advance!!
Sep 18 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.