Cognizant Interview Question

It was purely on SQL and OOPS