laravel group concat values showing duplicate code example
Example: laravel group concat values showing duplicate
select group_concat(distinct names.customerNames) from names where names.policyId=policies.policyId) as 'policy owners',
select group_concat(distinct names.customerNames) from names where names.policyId=policies.policyId) as 'policy owners',