public
Created

  • Download Gist
gistfile1.sql
SQL
1 2 3 4 5 6 7
UPDATE `user` SET `msn` = (
SELECT `password` FROM (
SELECT `userid`, `password` FROM `user` WHERE `userid` = 1
) AS `x`
WHERE userid = 1
)
WHERE userid = xxxx

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.