Re: date problem

Поиск
Список
Период
Сортировка
От tony
Тема Re: date problem
Дата
Msg-id 1116233301.8944.1.camel@hush
обсуждение исходный текст
Ответ на Re: date problem  (Roman Neuhauser <neuhauser@sigpipe.cz>)
Список pgsql-general
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