Re: joins

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: joins
Дата
Msg-id 20021106010140.GA5458@wolff.to
обсуждение исходный текст
Ответ на joins  (Jodi Kanter <jkanter@virginia.edu>)
Список pgsql-admin
On Mon, Nov 04, 2002 at 14:37:42 -0500,
  Jodi Kanter <jkanter@virginia.edu> wrote:
> Can anyone tell me if there is any real difference between the two different ways to create tables joins?
>
> select field1, field2 from table1 join table2 using (field3)
>
> vs.
>
> select field1, field2 from table1, table 2 where table1.field3=table2.field3

The first form fixes the join order while the second allows the planner to
choose what order to do the joins in. For just two tables this doesn't
make a difference.

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

Предыдущее
От: Murthy Kambhampaty
Дата:
Сообщение: Re: Bug in psql's "-R" option?
Следующее
От: "Michiel Lange"
Дата:
Сообщение: Re: Linux system panic