Re: [mysql] maximo de un campo agrupado

From: Date: Fri, 18 Oct 2002 10:16:44 +0000
Subject: Re: [mysql] maximo de un campo agrupado
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-28146@lists.php.net to get a copy of this message
te explico con un ejemplo id tipo datos ------------------------------ 1 transporte bus 2 alojamiento hotel 3 alojamiento apartamento 4 alojamiento aparthotel SELECT COUNT(tipo), tipo GROUP BY tipo --> RESULTADO 1 transporte 3 alojamiento y lo que quiero saber es ¿que hay mas?¿y cuanto?

« previous php.general.es (#28146) next »