Обсуждение: SQL

Поиск
Список
Период
Сортировка

SQL

От
DATAPUC-Frederico Papatella Guerino
Дата:
Hi,

I'd like an information about the history of SQL. 
The similarities and differences between SQL1 and SQL2 and SQL3.

Thank you,

Frederico Papatella Guerino
Belo Horizonte-MG/ Brasil

papatella@pucminas.br 


Re: SQL

От
Josh Berkus
Дата:
(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