frbn(at)efbs-seafrigo(dot)fr wrote in message news:<3BF51764(dot)8BEAC873(at)efbs-seafrigo(dot)fr>...
> SELECT * FROM tab WHERE num = x OR num = y;
>
> time: more than 10 mn !!!
>
> num is an integer.
Parsers and optimizers don't always see what's _obvious_ to us.
Have you tried:
SELECT * from tab where num in (x,y);