Cognizant Interview Question

List and tuple, joints in sql