From: | Lew <noone(at)lewscanon(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: group by hour + distinct |
Date: | 2010-11-26 16:07:05 |
Message-ID: | icolva$t93$1@news.albasani.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Michele Petrazzo - Unipex wrote:
> P.s. Have you some references about the "subquery" keyword? I found only
> the word subquery as "use" (for example: select a from b where id in
> (select id from table)), but not as sql [sic] command.
"subquery" is not an SQL keyword.
<http://www.postgresql.org/docs/9.0/interactive/sql-keywords-appendix.html>
Nor is it a command all by itself.
Reading the documentation might help you:
<http://www.postgresql.org/docs/9.0/interactive/queries-table-expressions.html#QUERIES-SUBQUERIES>
<http://www.postgresql.org/docs/9.0/interactive/sql-expressions.html#SQL-SYNTAX-SCALAR-SUBQUERIES>
<http://www.postgresql.org/docs/9.0/interactive/functions-subquery.html>
Or try:
<http://lmgtfy.com/?q=SQL+subquery>
--
Lew
From | Date | Subject | |
---|---|---|---|
Next Message | ndias | 2010-11-26 16:22:42 | Insert row in 1.10.1 and 1.10.3 |
Previous Message | Oliveiros d'Azevedo Cristina | 2010-11-26 13:15:14 | Re: group by hour + distinct |