humanista (mruczus)
2008-07-10 03:58:19 UTC
I have a query for a master-detail tables
select a.f1, a.f2, b.f1
from table1 a, table2 b
where a.f3=b.f3
(primary key is connected to foreign key). There is an index on a foreign
key. Should a.f1, a.f2, b.f1 also have indexes?
select a.f1, a.f2, b.f1
from table1 a, table2 b
where a.f3=b.f3
(primary key is connected to foreign key). There is an index on a foreign
key. Should a.f1, a.f2, b.f1 also have indexes?