Cognizant interview question

SQL,c and java