Question d’entretien chez Deloitte

Matrix multiplication code. SQL query to find 2nd highest salary in the table.