foxtrotunicorncharliekilo
Active Member
- Joined
- Jan 9, 2015
- Messages
- 63
- Reaction score
- 0
Hello.
I need some SQL help please... pretty basic stuff
Dumb example below but it will get the concept though
table1: empId, name, surname, etc
table2: salaryid, empId, salaryAmount, SalaryDate.
What I need:
I need a query to find the 2nd and 3rd latest salary amount with the name and surname of the emp in the same row per employee.
I need some SQL help please... pretty basic stuff
Dumb example below but it will get the concept though
table1: empId, name, surname, etc
table2: salaryid, empId, salaryAmount, SalaryDate.
What I need:
I need a query to find the 2nd and 3rd latest salary amount with the name and surname of the emp in the same row per employee.
Last edited: