How do you do a negative join?

Поиск
Список
Период
Сортировка
От dj00302003@yahoo.com (Jay Davis)
Тема How do you do a negative join?
Дата
Msg-id 1d17eeb7.0403201332.58f95e91@posting.google.com
обсуждение исходный текст
Ответы Re: How do you do a negative join?  (Josh Berkus <josh@agliodbs.com>)
Re: How do you do a negative join?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-novice
There must be a standard SQL method to query multiple
tables in the following way.  Lets say we have two
tables, 'allnames' and 'badnames'. We want to get the
following result:

"select name from allnames where name-is-not-in-badnames;"

Clearly I'm an SQL novice but I haven't found any examples
of such a query in my beginning SQL books.

Thanks.

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

Предыдущее
От: Mihai Tanasescu
Дата:
Сообщение: Simple list tables question
Следующее
От: billybobc1210@yahoo.com (Bill C.)
Дата:
Сообщение: Problems getting started: createdb fails