select * from wquote_item where stat='H' and
quote_num IN(select quote_num from wquote where yy_code='A' and input_date>'2006/08/01' and input_date <'2006/09/01' and input_man='231239')================
1、语句还能优化吗?
2、如果不能的话,如何建索引使执行效率更高,运行速度更快?
quote_num IN(select quote_num from wquote where yy_code='A' and input_date>'2006/08/01' and input_date <'2006/09/01' and input_man='231239')================
1、语句还能优化吗?
2、如果不能的话,如何建索引使执行效率更高,运行速度更快?
那wquote_item表 只将 stat字段建立索引??