order after WHERE clause

Поиск
Список
Период
Сортировка
От Kovacs Zoltan
Тема order after WHERE clause
Дата
Msg-id Pine.LNX.4.21.0105281833300.14681-100000@pc10.radnoti-szeged.sulinet.hu
обсуждение исходный текст
Ответы Re: order after WHERE clause
Список pgsql-sql
Is it possible that I get different query result time if I change two
parts of the WHERE clause? I.e.,

SELECT * FROM table WHERE col1 = 5 AND col2 = 6;

and

SELECT * FROM table WHERE col2 = 6 AND col1 = 5;

In general, is it important how I define the ordering in a WHERE clause?

TIA, Zoltan

--                         Kov\'acs, Zolt\'an                        kovacsz@pc10.radnoti-szeged.sulinet.hu
          http://www.math.u-szeged.hu/~kovzol                        ftp://pc10.radnoti-szeged.sulinet.hu/home/kovacsz
 



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

Предыдущее
От: Linh Luong
Дата:
Сообщение: Seq Scan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: order after WHERE clause