Archive

Archive for October, 2009

Top N Random records from each group

October 12th, 2009 Arun Mallick 2 comments


Problem:

The requirement is to get top 10 employee’s name randomly from each department in a company. Let me elaborate it. Suppose in a company ABC, there are 1500 employees with 5 departments and each department have more than 200 employees. The manager wants to list down at least 10 names of the employees randomly from each department for a survey.

Solution:

Read more…

Categories: Tips N Tricks

Database Summary

October 6th, 2009 Arun Mallick No comments
Categories: Tips N Tricks