Re: SQL Question

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: SQL Question
Дата
Msg-id 20011110151635.F37050-100000@zoraida.natserv.net
обсуждение исходный текст
Ответ на SQL Question  (Brian <Brrrian@Excite.com>)
Список pgsql-novice
On Sat, 10 Nov 2001, Brian wrote:

>
> I am trying to query table1, selecting records that do NOT have a relation in a subset from table3 that is related to
table2.

I tried, but couldn't figure it out.

I think the solutions is along these lines:
-Make a query which will return the combination of all names and tricks.
Something like "select tricks.trick, names,name from tricks,names;"
-Store the result of the query above into a table
-Do an outer join of tricks and the "complete" table for the instances
where the name is null.


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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: Query very slow
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: Sending query to a file