Innovaccer Interview Question

Write a program to get the second highest salary from employees tale without using Rank function.