"IN" or "=" and "OR"

Поиск
Список
Период
Сортировка
От Vernon Wu
Тема "IN" or "=" and "OR"
Дата
Msg-id XU4WIOKZYARQXVJIVS74JGWVE0KF4.3e2067c0@kimiko
обсуждение исходный текст
Ответы Re: "IN" or "=" and "OR"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Which query statement is better in terms of preformance ?

select ... from table1 where field1 in  ('a', 'b', 'c')

select ... from table1 where field1='a' or field1='b' or field1='c'

Thanks.



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

Предыдущее
От: "enediel"
Дата:
Сообщение: Fw: Fw: Fw: postgresql in cluster of servers
Следующее
От: Neil Conway
Дата:
Сообщение: Re: join over 12 tables takes 3 secs to plan