Re: Performance question (stripped down the problem)

Поиск
Список
Период
Сортировка
От Matt Block
Тема Re: Performance question (stripped down the problem)
Дата
Msg-id 001601c1404e$5ff1e680$6400000a@internal.home.blockdev.net
обсуждение исходный текст
Ответ на Performance question (stripped down the problem)  ("Tille, Andreas" <TilleA@rki.de>)
Ответы Re: Performance question (stripped down the problem)
Re: Performance question (stripped down the problem)
Список pgsql-general
> -----Original Message-----
> From: Tille, Andreas

> 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?

  -- Matt


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

Предыдущее
От: "Kristopher Yates"
Дата:
Сообщение: www.postgresql.org
Следующее
От: David Emery
Дата:
Сообщение: Re: Second byte of multibyte characters causing trouble