haiii frnds, i have a database table with fields name,gender,religion etc.. i want to select maximum 2 rows for each male and female candidates in each 3 religion using a single query.how to do it??????? plzzz help me