I am inserting new record to table. The records can be more than one.
If I insert the value of 1,2,3,4,5,6,7,9,10
Then it will insert 10 records to table.
INSERT INTO table (record) VALUES (1,2..,10) ON DUPLICATE KEY UPDATE record=record
//Actually on duplicate key I want to update whole column here (not only the record column on its row
In the range number of 1 to 10, there may be some numbers which have be already exist. Say that the number which have been already exist are the number of 4,6, and 9. If it is so, then I want to find this duplicate numbers to be alert or echo, (Hei, this value already exist 4,6,9(something like so)), and the rest numbers are keep inserted.
My question is, how to find this duplicate number?