> 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 by date:
Соглашаюсь с условиями обработки персональных данных