
16/02/2012, 02:20
|
 | | | Fecha de Ingreso: septiembre-2010 Ubicación: München
Mensajes: 2.445
Antigüedad: 14 años, 6 meses Puntos: 331 | |
Respuesta: consulta con SELECT COUNT() y como mostrar resultados No puedo saberlo si no veo las tablas pero lo normal sería:
select COUNT(atributo) from sucursales where xx group by xxx having atributo = on
Si hay un having tiene que haber un group by. Having es el WHERE de las columnas agrupadas.
__________________ Fere libenter homines, id quod volunt, credunt. |