Re: Performance question (stripped down the problem)

Поиск
Список
Период
Сортировка
От Tille, Andreas
Тема Re: Performance question (stripped down the problem)
Дата
Msg-id Pine.LNX.4.33.0109191130100.9092-100000@wr-linux02.rki.ivbb.bund.de
обсуждение исходный текст
Ответ на Re: Performance question (stripped down the problem)  ("Matt Block" <matt@blockdev.net>)
Список pgsql-general
On Tue, 18 Sep 2001, Matt Block wrote:

> > echo "SELECT Hauptdaten_Fall.MeldeKategorie, Count
> > (Hauptdaten_Fall.ID) AS Anz FROM Hauptdaten_Fall
> > WHERE (((Hauptdaten_Fall.IstAktuell)=20)) GROUP
> > BY Hauptdaten_Fall.MeldeKategorie ORDER BY
> > Hauptdaten_Fall.MeldeKategorie;" | psql ifsgtest > result
>
> I've not yet looked at the rest of the problem, but doesn't
> ORDER BY make GROUP BY redundant?  Just an extra sort?
No it doesn´t.  I have to do exact this query.

Kind regards

         Andreas.

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

Предыдущее
От: Doug Moore
Дата:
Сообщение: read in to psql from file
Следующее
От: Jean-Christophe Boggio
Дата:
Сообщение: Fwd: URGENT ! Nouveau virus