Cognizant Interview Question

queries on sql, basic question on java, oops, data structures.