LTM Limited interview question

Questions on SQL and OOPS