mysql> insert into fund_history select * from temp_fund_history
where data_date='2006-06-30' and index_num between 1 and 10;
Query OK, 0 rows affected (0.03 sec)
Records: 10 Duplicates: 10 Warnings: 0
I am really wondering why this INSERT statement is not inserting 10 records. Its saying 10 Duplicates: 10, and there is no records from index_num from 1 to 10 in fund_history table.
Can any one please help me to know the reason/cause and solution for this problem.
Thanks,
Kath