Cognizant interview question

Related to programming and DBMS