TIMS interview question

Questions asked on SQL and Excel