Aggregates

Поиск
Список
Период
Сортировка
От Naz Gassiep
Тема Aggregates
Дата
Msg-id 467A5A96.8060009@mira.net
обсуждение исходный текст
Ответы Re: Aggregates  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Hi,
    If I have a table with users and a table with messages, is it
possible to have a query that returns user.* as well as one extra column
with the number of messages they have posted and the data and time of
the last message? At the moment I am using a subquery to do this,
however it seems suboptimal. Is there a better way?
- Naz.

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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Recovery/Restore and Roll Forward Question.
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Accent insensitive search