RE: [PHP-ES] Re: registros distintos
| From: | David Currie | Date: | Wed, 04 Apr 2001 10:23:01 +0000 |
| Subject: | RE: [PHP-ES] Re: registros distintos | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-8726@lists.php.net to get a copy of this message | ||
Si he entendido bien de tu otro correo, solo quieres una lista de las
distintas ciudades sin los datos de cliente. En este caso prueba con
'select DISTINCT ciudad from cliente'
Le pones el 'where' tambien, si te hace falta.
David
-----Original Message-----
From: Jorge Simón Navarro [mailto:jsimon@silinfo.com]
Sent: 04 April 2001 10:51
To: lista@phpes.com
Subject: [PHP-ES] Re: registros distintos
Srs,
el select que uso es el siguiente:
select DISTINCT * from cliente where (ciudadLIKE '%" . $mCiudad. "%')
pero los muestra todos.
Gracias,
Jorge.
---------------------------------------------------------------------
Archivo On-line: http://www.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/
Para dar de baja la suscripción, mande un mensaje a:
lista-unsubscribe@phpes.com