If I have 2 large tables A and B and I need to join them:
 
select * from A,B where A.col1=B.col1
 
If A.col1 is an index and B.col1 is not, if I create an index on B.col1
will this index be used? In other words how are indexes used on table
joins?
 
Thanks
 
John Mancuso
Linux Administrator/MySQL DBA
IT Infrastructure
American Home Mortgage
w: 631-622-6382
c: 516-652-2475
 

Reply via email to