ALTER TABLE t_factor_weight ADD UNIQUE fid_fac_sym_unique_index (`fund_id`,`factor_name`,`symbol`);
ALTER TABLE t_factor_target_position ADD UNIQUE fid_factor_symbol_unique_index (`fund_id`,`factor_name`,`symbol`);
ALTER TABLE t_fund_target_position ADD UNIQUE fid_sym_unique_index (`fund_id`,`symbol`);
标签:index,fund,symbol,唯一,索引,ADD,factor,unique From: https://www.cnblogs.com/0001b/p/17000769.html