Tech Mahindra interview question

SQL query for max salary from the table