Cognizant interview question

Intro Technical part SQL HR