USE `vn`; ALTER TABLE `vn`.`payMethod` ADD COLUMN `code` VARCHAR(50) CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' NULL AFTER `id`; UPDATE `vn`.`payMethod` SET `code` = 'bankDraft' WHERE (`id` = '4'); UPDATE `vn`.`payMethod` SET `code` = 'card' WHERE (`id` = '5');