skip to Main Content

Update duplicate records with incremental column – Mysql

-- create CREATE TABLE employee ( emp_id INTEGER, job_code TEXT, cnt_check int ); -- insert INSERT INTO employee(emp_id,job_code) VALUES (0001, 'JC001'); INSERT INTO employee(emp_id,job_code) VALUES (0001, 'JC001'); INSERT INTO employee(emp_id,job_code) VALUES (0002, 'JC002'); INSERT INTO employee(emp_id,job_code) VALUES (0002, 'JC002'); INSERT…

VIEW QUESTION
Back To Top
Search