| From: | Juan Martínez <jeugenio(at)umcervantes(dot)cl> |
|---|---|
| To: | Kelly González Enríquez <kge_7(at)yahoo(dot)com(dot)mx> |
| Cc: | postgresql <pgsql-es-ayuda(at)postgresql(dot)org> |
| Subject: | Re: Valor-Maximo |
| Date: | 2006-03-28 17:09:08 |
| Message-ID: | 1143565748.22683.16.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
El mar, 28-03-2006 a las 10:54 -0600, Kelly González Enríquez escribió:
> La revise e hice
>
> select MAX("valor_est")from est_baszmvt;
>
> select * from est_baszmvt where "valor_est"=(select MAX("valor_est")
> from est_baszmvt);
>
> y me devuelve:
>
> fila valor_est
> 1 9975
Por que no ejecutar directamente:
SELECT max("valor_est") FROM est_baszmvt;
> Pero ese no es el valor maximo que tengo almacenado en esa columna
Ahora, cual debiera ser el valor maximo segun tu?
Atte.
Juan Martinez
Depto. Inf.
UMC
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Leonel Nunez | 2006-03-28 17:15:51 | Re: Valor-Maximo |
| Previous Message | Juan Martínez | 2006-03-28 17:07:26 | Re: Valor-Maximo |