let us suppose there are two tables namely 'employee' and 'department'. In employee table columns are emp_id PK and emp_name.In department table columns are dep_id as FK(emp_id),sala ry,month; here one id contain multiple months salary.
Now,
we have to find out the name,salary of the TOP 3 employee whose salary is maximum in his all months salary.
Now,
we have to find out the name,salary of the TOP 3 employee whose salary is maximum in his all months salary.
Comment