Re: group by hour + distinct

Поиск
Список
Период
Сортировка
От Lew
Тема Re: group by hour + distinct
Дата
Msg-id icolva$t93$1@news.albasani.net
обсуждение исходный текст
Ответ на Re: group by hour + distinct  (Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>)
Список 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 по дате отправления:

Предыдущее
От: ndias
Дата:
Сообщение: Insert row in 1.10.1 and 1.10.3
Следующее
От: "Oliveiros d'Azevedo Cristina"
Дата:
Сообщение: Re: Insert row in 1.10.1 and 1.10.3