From: | Giorgio <giorgio(dot)pgsql(at)gmail(dot)com> |
---|---|
To: | Postgresql <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: Help con Select |
Date: | 2011-07-05 21:03:42 |
Message-ID: | CAOAWX3op9ueJLfEf_t5zA5XZ5MmAXPxvqna=rMcgEZSXNqU0jQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Gracias a todos por la ayuda me sirvió de mucho y obtuve lo que quería.
El 5 de julio de 2011 15:58, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>escribió:
> 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 | Eduardo Morras | 2011-07-05 21:43:32 | Re: Restauración pg_dump |
Previous Message | Alvaro Herrera | 2011-07-05 20:58:14 | Re: Help con Select |