update时使用子查询出错
example:
UPDATE test_table SET no= '0001' WHERE id = (SELECT id FROM test_table WHERE de='de')
SET @oid =(SELECT id FROM test_table WHERE de='de');UPDATE test_table SET no= '0001' WHERE id = @oid;
UPDATE test_table SET no= '0001' WHERE id =(select * from (SELECT id FROM test_table WHERE de='de') c)