Sql query question 3 part time at 1:24

sir in the question at time 1;24.
in third part we are doing this with not equal method
but sir o got first thought that first I will delete the row whose have max solar and then print the max salary that is the 2nd largest salary