
When I remove 41 and 42 lines, Elapsed time is “00:00:03.13”. The “com_site” table aliased as [c] has no index or PK.
Result records count is 5503(20 records before removing.)
Could anyone explain me why this happens?
Thanks…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Even though the alias [c] has no index, the conditions
can be processed first if [c] is small enough compared to the other tables. Processing this first would be preferable to processing the correlated 2-level sub-query involving the tuple (bank_cd, acct_no).