Publicis Sapient interview question

implement sql join in a given table