对表 dailykt 建立联合索引(trade_date,ts_code)

alter table dailykt add primary key(trade_date,ts_code);