Re: Can this be done in one query?

Поиск
Список
Период
Сортировка
От Bjoern Metzdorf
Тема Re: Can this be done in one query?
Дата
Msg-id 001301c1f618$2a01e5e0$0564a8c0@toolteam.net
обсуждение исходный текст
Ответ на Can this be done in one query?  (Randall Perry <rgp@systame.com>)
Список pgsql-general
> So, is there a way to do this in one query without creating a temp table?

How about a view:

create view test as select max(date) from log order by date_time desc limit
12;

select max(date) from test;

Greetings,
Bjoern



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

Предыдущее
От: Darren Ferguson
Дата:
Сообщение: Re: NOT IN query issues
Следующее
От: "Samuel J. Sutjiono"
Дата:
Сообщение: Performance issues with compaq server