Re: Novice trouble with plpgsql - Mailing list pgsql-sql

From Patrik Kudo
Subject Re: Novice trouble with plpgsql
Date
Msg-id 38E4A147.9CE24925@partitur.se
Whole thread Raw
In response to Novice trouble with plpgsql  (Alexander Stetsenko <as@anapa.org.ru>)
Responses Re: Novice trouble with plpgsql
List pgsql-sql
try:

select max(name_of_column) from name_of_table;

Regards,
Patrik Kudo

Alexander Stetsenko wrote:
> 
> Hello All
> Help me please !
> I need to select max value in plpgsql, but
> such code seems is not corect:
>         select into var max(col) from table ;
> How can I do this ?
> 
> Thanks you all.


pgsql-sql by date:

Previous
From: Alexander Stetsenko
Date:
Subject: Novice trouble with plpgsql
Next
From: Peter Eisentraut
Date:
Subject: Re: outer join syntax