存储过程使用输入变量

CREATE DEFINER=`liulibo`@`%` PROCEDURE `test`( 
IN limitNum INT
)
BEGIN
  SELECT * FROM user LIMIT limitNum;
END
call test(2)