![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/08/2009, 03:44
|
Colaborador | | Fecha de Ingreso: marzo-2008 Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 10 meses Puntos: 300 | |
Respuesta: Ayuda consulta varios group by Tuli-latum,
prueba así:
Código sql:
Ver originalSELECT ELEMENTO, COUNT(DISTINCT COLOR)COL FROM ELEMENTOS GROUP BY ELEMENTO
|