查询语句,执行计划中索引是如何选用的? SELECT * FROM commodity_info,commodity WHERE ( commodity_info.COM_ID = commodity.COM_ID ) and ( (commodity.com_code like '%b000002%') or ( commodity_info.com_id in (select commodity_info.down_comid from commodity,commodity_info where commodity.com_id=commodity_info.com_id and commodity.com_code like '%b000002%') ) )
SELECT * FROM commodity_info,commodity WHERE ( commodity_info.COM_ID = commodity.COM_ID ) and ( (commodity.com_code like '%b000002%') or ( commodity.com_id in (select commodity_info.down_comid from commodity,commodity_info where commodity.com_id=commodity_info.com_id and commodity.com_code like '%b000002%') ) )