Hi Here i came across a situation in which by mistakenly Without dropping the table i have run the batch file of the table which consists of some insert statements in detail
CREATE TABLE new_tbl(id int AUTO_INCREMENT,priority_name); INSERT INTO new_tbl select priority_name from old_tbl group by priority_name;