ITC Infotech interview question

questions on SQL, three programming questions.