
03/04/2008, 10:28
|
Colaborador | | Fecha de Ingreso: marzo-2008 Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 17 años Puntos: 300 | |
Re: sacar más de un registro coincidente y tal vez también esto:
SELECT sku, count (distinct mayorista) as NUMEROMAYORISTAS, GROUP_CONCAT(mayorista) AS mayoristas FROM `articulossincro` group by sku HAVING count(sku) > 1 AND count (distinct mayorista) > 1 |