Re: showing records from the last 20 min

Поиск
Список
Период
Сортировка
От Matthew Nuzum
Тема Re: showing records from the last 20 min
Дата
Msg-id 1048012590.1151.116.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: showing records from the last 20 min  (Tomasz Myrta <jasiek@klaster.net>)
Список pgsql-sql
On Tue, 2003-03-18 at 13:19, Tomasz Myrta wrote:
> > I want to show all the records in a table that occurred in the last 20
> > min.
> > 
> > So, maybe something like:
> > select * from sys_logins WHERE tstamp >= now() - '00:20';
> Did you mean:
> select * from sys_logins
> WHERE tstamp >= now()-cast('20:00' as interval);

Yes, I guess I did.  ;-)  Thanks for the help.
-- 
Matthew Nuzum
cobalt@bearfruit.org
www.bearfruit.org



В списке pgsql-sql по дате отправления:

Предыдущее
От: Tomasz Myrta
Дата:
Сообщение: Re: showing records from the last 20 min
Следующее
От: Guy Fraser
Дата:
Сообщение: Re: Convert a text list to text array? Was: Denormalizing during