Re: null answer - how?

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: null answer - how?
Дата
Msg-id 20010920114349.A1276@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: null answer - how?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
On Wed, Sep 19, 2001 at 11:34:56AM -0700, Stephan Szabo wrote:
>
> Are there no rows with timesliced<'01-May-2001'?  I think in that
> case sum() gives you one row with NULL.

Thank you for the clue! *slaps forehead*

transatlantic=# select min(stats_id),max(stats_id) from trans;
 min  |  max
------+-------
 5415 | 12532
(1 row)

transatlantic=# select min(id),max(id) from stats where timesliced<'01-May-2001';
 min | max
-----+------
  10 | 2345
(1 row)

Cheers,

Patrick

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

Предыдущее
От: "Tille, Andreas"
Дата:
Сообщение: Re: Performance question (stripped down the problem)
Следующее
От: z.nijmeyers@cable.a2000.nl
Дата:
Сообщение: Re: Performance question (stripped down the problem)