Assigning user declared variable inside mysql while loop results in null

前端 未结 0 1812
鱼传尺愫
鱼传尺愫 2021-01-25 12:24

I am trying the following mysql function, which includes a while loop.

BEGIN
    SET @total := 5000;
    SET @count := 1;
    SET @total := (SELECT price from ite         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题