Publicis Sapient Interview Question

implement sql join in a given table