Re: date problem

Поиск
Список
Период
Сортировка
Искать
От
tony
Тема
Re: date problem
Дата
в 05:48:31
Msg-id
1116233301.8944.1.camel@hush
Ответ на
Re: date problem (Roman Neuhauser)
Список
Дерево обсуждения
date problem tony <tony@tgds.net>
Re: date problem Roman Neuhauser <neuhauser@sigpipe.cz>
Re: date problem tony <tony@tgds.net>
Re: date problem Richard Huxton <dev@archonet.com>
Re: date problem tony <tony@tgds.net>
Le lundi 16 mai 2005 à 10:30 +0200, Roman Neuhauser a écrit :

>     select *
>     from expo
>     where date = (select max(date)
>                   from expo
>                   where date < now()) as x;

Thanks!

I keep forgetting this for some strange reason... I was putting it in
the "from" instead of the "where"

Tony

В списке pgsql-general по дате отправления
От: Richard Huxton
Дата:
Сообщение: Re: date problem
От: tony
Дата:
Сообщение: Re: date problem
FAQ