I have the following data in my database
I have got some duplicate records while inserting data .
CREATE TABLE `historical_data` ( `symbol_name` varchar(70) DEFAULT NULL, `current_day` varchar(50) DEFAULT NULL, `open_val` varchar(50) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ; Insert Into historical_data values('SBIN','10-DEC-2015','300.10'); Insert Into historical_data values('SBIN','10-DEC-2015','300.10'); Insert Into historical_data values('SBIN','10-DEC-2015','300.10'); Insert Into historical_data values('ACC','10-DEC-2015','1233.10'); Insert Into historical_data values('TATELXSI','10-DEC-2015','1980.10'); Could you please let me know how to remove all the duplicates from the table
Duplicate means same symbol and same current day
symbol_name,current_day,open_valin the same row, or just a duplicate value within any of these columns?