mysql存储过程例子 SET p1=10;if p1=10 thenselect 'p1 is 10';if p1=p2 thenselect 'p1=p2';elseselect p1,p2,p3;select p1;select p1;select p1; 网络游戏 2017-04-03 21:31:01