我试图更新一个名为visit_date的列,其中id应该是propId,但似乎不可能在SQL phpMyAdmin中这样做。
我需要编辑总共500 000行,其中一些列在下面:
UPDATE `property_visit` SET (`propId`, `visit_date`) VALUES
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(89, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(118, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(109, '22-01-2018'),
(121, '22-01-2018');