Re: SQL

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: SQL
Дата
Msg-id 39F48BD2.42721F7C@agliodbs.com
обсуждение исходный текст
Ответ на SQL  (DATAPUC-Frederico Papatella Guerino <papatella@pucminas.br>)
Список pgsql-sql
(Aplolgies to Mr. McCoy, to whom I mailed this awnser in error)

Mr. Bajerski,

> > I've got answer from Postgres
> > "Illegal attributes or non-group column"
> >
> > Is it error in query or in parser ?

It's your query.  In a GROUP BY query, all named columns must either
contain and aggregate function (e.g. SUM) or be named in the GROUP BY
clause.

O'Reilly has just come out with a SQL in a Nutshell book.  I'd suggest
picking one up.

-Josh Berkus
-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology      josh@agliodbs.com   and data management solutions       (415) 436-9166  for law firms, small
businesses      fax  436-0137   and non-profit organizations.       pager 338-4078                               San
Francisco


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

Предыдущее
От:
Дата:
Сообщение: Re:
Следующее
От: "pgsql-sql"
Дата:
Сообщение: help on creating table