Linedata interview question

manager employee join sql question