Cognizant interview question

DS questions and few sql