标题: where字段条件多,至少3个以上,如何优化 [打印本页] 作者: todayhero 时间: 2013-02-05 22:08 标题: where字段条件多,至少3个以上,如何优化 where gid not in (54725,98926) and t_category_id = 21 and t_cityid!=15 and t_cityid!=1 and t_delivery=1 and t_starttime<1359993600 AND t_endtime >= 1360070513 and t_isdelete=0 ORDER BY t_starttime desc;