-
Get 10 and 11th records in the output using SQL in 5 ways ?
I have to tables A and B. My records in this table are in such a way that Table A Table B 10 15 11 16 12 10 13 11 Question :- I want only the 10 and 11 records as my output. Can anyone help me out ( 5 ways to get this output )
-
SQL - Find top two salary for each department
1. top 2 salary in each dept2. 2nd maximum sal in each dept3. 2nd minimum sal in each dept.