delete duplicate records from MYSQL Table no unique column yet -
i know has been asked before cant code work on table.
i have table products
as follows
products_id products_model ect 1 abc blah 1 abc blah 2 def blah 2 def blah and on,
i make products_id unique have duplicates based upon product_id column.
how can rid of duplicates, dont care 1 need rid of them.
thankyou.
try execute statement,
alter ignore table products add constraint tb_uq unique (products_id)
Comments
Post a Comment