CodePudding user response:
INSERT INTO userTab(name and address)
(SELECT the 'CMS' + the name AND address FROM userTab WHRER name='anhui' AND address='XXXX';
CodePudding user response:
INSERT INTO TABLE_NAME(name,... )
(SELECT the 'CMS' | | name,... The FROM TABLE_NAME WHRER name='anhui';
CodePudding user response:
Why not directly update, the update tableSet a=a | | the username
CodePudding user response:
The update table name set login name='CMS' | | login account where name='anhui'