SELECT sitemstr.* ; from o:\redp\dbc\ma\sitemstr ; inner join c:\wistemp\btc_0IU0ZA4P5 btcZipcode on sitemstr.zipcode = btcZipCode.btcCode ; INTO TABLE ..\..\work\query\qryU0ZA34JTemp table has an index on btcCode and SiteMstr has an index on ZipCode. sys(3055,11) shows, that optimization level for SiteMstr is full and for temp table is none. The query executes very long time (SiteMstr has ~3mln. records). The original query (not the test one) has 7 joins already and it takes forever. Is it here a way to optimize it?