| From: | Gilberto Castillo Martínez <gilberto(dot)castillo(at)etecsa(dot)cu> |
|---|---|
| To: | Edwin Quijada <listas_quijada(at)hotmail(dot)com> |
| Cc: | viniciojr(at)gmail(dot)com, pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | RE: confusion con consulta |
| Date: | 2011-12-05 21:58:42 |
| Message-ID: | 1323122322.12768.86.camel@gilbertoc.mtcorp.etecsa.cu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
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.
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 179 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Juan | 2011-12-05 21:58:51 | Re: confusion con consulta |
| Previous Message | Edwin Quijada | 2011-12-05 21:50:07 | RE: confusion con consulta |