mysql查询强制走索引
SELECT a.emp_user_id, SUM( a.distribute_amount_detail ) distribute_amount, COUNT(*) distribute_numFROM fe_dwd.dwd_en_distribute_detail_fx a force index(idx_distribute_time)WHERE a.distribute_time >= @ymd #取昨天所在月 AND a.distribu...