Cognizant Interview Question

Sql joins