select * from transportistas where cedula in ( '1-1121-0577'
'2-0566-0341' .. ) .
best
mdc


2011/12/5 Gilberto Castillo Martínez <gilberto.casti...@etecsa.cu>

>
>
> El lun, 05-12-2011 a las 21:50 +0000, Edwin Quijada escribió:
> > Pureba algo asi
> > select * from transportistas where cedula = '1-1121-0577' OR cedula =
> > '2-0566-0341'
>
> >
> >  select * from transportistas where cedula = '1-1121-0577' and cedula
> > = '2-0566-0341'
>
> Como bien te responde arriba, abras notado que cedula no puede tomar dos
> valores diferente en la misma pasada.
> --
> Saludos,
> Gilberto Castillo
> Edificio Beijing. Miramar Trade Center. Etecsa.
> Miramar, La Habana.Cuba.
>
> ---
> This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE
> running at host imx2.etecsa.cu
> Visit our web-site: <http://www.kaspersky.com>, <http://www.viruslist.com>
>
> -
> Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda@postgresql.org
> )
> Para cambiar tu suscripción:
> http://www.postgresql.org/mailpref/pgsql-es-ayuda
>
>

Responder a