如何在mysql更新标记中设置两个字段

时间:2015-08-10 09:50:28

标签: mysql

$query= "UPDATE details  
            SET password 
            AND cpassword = (SELECT newpassword
                                  , cpassword
                               FROM resetpassword 
                              WHERE resetpassword.email = details.email)
          WHERE email = email";

0 个答案:

没有答案