| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | Arcel Labrada Batista <alabradab(at)uci(dot)cu> |
| Cc: | Alejandra Bautista <alejandrabaut(at)gmail(dot)com>, Postgresql <pgsql-es-ayuda(at)postgresql(dot)org>, Giorgio <giorgio(dot)pgsql(at)gmail(dot)com> |
| Subject: | Re: Help con Select |
| Date: | 2011-07-05 20:58:14 |
| Message-ID: | 1309899457-sup-8544@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
Excerpts from Arcel Labrada Batista's message of mar jul 05 16:43:30 -0400 2011:
> si agrupas por codigo no te va a funcionar, pues el codigo siempre es distinto, creo que no deberias incluirlo en el select no el el group by
Todo lo contrario ... mira la descripción del problema:
> Hola amigos espero me puedan ayudar, tengo una tabla socio mas o menos así:
>
>
>
>
> codigo..version.._modular............nombre
> 00001 01 7000000483 ALARCON ORTIZ SILVIA ESDENKA
> 00001 02 7000000483 ALARCON ORTIZ SILVIA ESDENKA
> 00002 01 1031125501 ALBINAGORTA REYNOSO HERLINDA ISABEL
> 00003 01 8000000872 ALFARO AGUERO PABLO RENE
> 00004 01 1031148858 ALTAMIRANO VARGAS AUGUSTO
> 00004 02 1031148858 ALTAMIRANO VARGAS AUGUSTO
> 00004 03 1031148858 ALTAMIRANO VARGAS AUGUSTO
> 00005 01 1031152138 ALTAMIRANO VARGAS ELIAS
> 00006 01 1031125811 ALTAMIRANO VIVANCO LUISA
> 00006 02 1031125811 ALTAMIRANO VIVANCO LUISA
> 00006 03 1031125811 ALTAMIRANO VIVANCO LUISA
> 00006 04 1031125811 ALTAMIRANO VIVANCO LUISA
--
Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Giorgio | 2011-07-05 21:03:42 | Re: Help con Select |
| Previous Message | Arcel Labrada Batista | 2011-07-05 20:43:30 | Re: Help con Select |