re: Indices in querys using OR...

2003-03-18 Thread Egor Egorov
On Tuesday 18 March 2003 02:47, dreq jkj wrote: I have trouble figuring out how the indices are used when making a query that uses OR-operator. If I have the following table: create table testing( id int unsigned not null primary key auto_increment, idx1 int unsigned not null, idx2 int

Indices in querys using OR...

2003-03-17 Thread dreq jkj
I have trouble figuring out how the indices are used when making a query that uses OR-operator. If I have the following table: create table testing( id int unsigned not null primary key auto_increment, idx1 int unsigned not null, idx2 int unsigned not null, index(idx1), index(idx2)); In this