Cognizant interview question

oops dbms puzzles s