Mastek interview question

basic sql qns freq qns