SQL优化[19]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 fly_miss 的 blog

该句的执行结果为:

'sales'。扫描计数 18,逻辑读 56 次,物理读 0 次,预读 0 次。

'titles'。扫描计数 1,逻辑读 2 次,物理读 0 次,预读 0 次。

   

2select title,price from titles where exists (select * from sales where sales.title_id=titles.title_id and qty>30)

第二句的执行结果为:

本文关键:SQL优化
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top