Re: confusion con consulta

From: Juan <smalltalker(dot)marcelo(at)gmail(dot)com>
To: gilberto(dot)castillo(at)etecsa(dot)cu
Cc: Edwin Quijada <listas_quijada(at)hotmail(dot)com>, viniciojr(at)gmail(dot)com, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: confusion con consulta
Date: 2011-12-05 21:58:51
Message-ID: CAKizN9xOQdUuwrEmMCsKhp5KGDQtpAn28cpSfz6G_AaTymRdRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

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

2011/12/5 Gilberto Castillo Martínez <gilberto(dot)castillo(at)etecsa(dot)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(at)postgresql(dot)org
> )
> Para cambiar tu suscripción:
> http://www.postgresql.org/mailpref/pgsql-es-ayuda
>
>

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Guillermo Villanueva 2011-12-05 22:53:11 Re: recorrer old
Previous Message Gilberto Castillo Martínez 2011-12-05 21:58:42 RE: confusion con consulta