Re: [SQL] Odd unfamiliar Postgres SQL syntax

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [SQL] Odd unfamiliar Postgres SQL syntax
Дата
Msg-id CAKFQuwZNNo1jPcop8ZfN8SKmNhyBi3wKkM5htiv4jn79TB7yKA@mail.gmail.com
обсуждение исходный текст
Ответ на [SQL] Odd unfamiliar Postgres SQL syntax  (Sonny <sonny.chee@gmail.com>)
Список pgsql-sql
On Mon, Jul 31, 2017 at 9:42 AM, Sonny <sonny.chee@gmail.com> wrote:
Can someone help me understand the following SQL?  What does the notation (i.keys).n and (i.keys).x mean... as indicated by the <<<=== in the query.  Any help would be appreciated.


Basically:

i = relation name
keys = composite column name
x = component name within the composite

"keys.x"​ doesn't work because the system thinks that "keys" should be a relation name when written that way.

David J.

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

Предыдущее
От: Sonny
Дата:
Сообщение: [SQL] Odd unfamiliar Postgres SQL syntax
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [SQL] Odd unfamiliar Postgres SQL syntax