ALTER TABLE vn.professionalCategory DROP COLUMN IF EXISTS code; ALTER TABLE IF EXISTS vn.professionalCategory ADD COLUMN code VARCHAR(25) UNIQUE DEFAULT NULL; UPDATE vn.professionalCategory SET code = 'driverCE' WHERE name = 'Conductor C + E';