Wiser Solutions interview question

SQL question and salary expectation