Performance of VIEW vs. SQL statement

后端 未结 3 845
-上瘾入骨i
-上瘾入骨i 2020-12-15 07:22

I have a query that goes something like the following:

select  
from 
where 
and 

        
      
      
      
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-15 07:32

    Views aside, aren't the PrimaryKey AND clauses redundant? If the PrimaryKey value is IN a list, wouldn't it not be IN the other list? I think condensing those two clauses into one would boost performance.

提交回复
热议问题