Re: group by hour + distinct - Mailing list pgsql-sql

From Lew
Subject Re: group by hour + distinct
Date
Msg-id icolva$t93$1@news.albasani.net
Whole thread Raw
In response to Re: group by hour + distinct  (Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>)
List 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


pgsql-sql by date:

Previous
From: ndias
Date:
Subject: Insert row in 1.10.1 and 1.10.3
Next
From: "Oliveiros d'Azevedo Cristina"
Date:
Subject: Re: Insert row in 1.10.1 and 1.10.3