您好,欢迎访问一九零五行业门户网

mysql 创建存储过程时,select语句 like中引用变量如何引用?

mysqllike存储过程select语句
附代码:
delimiter//
drop procedure if exists m_dname //
create procedure m_dname
(month varchar(2))
select income.cid,count(*) counts from income where time like '______month%';
//
delimiter ;
如上 like中的month是变量 如何插入进去?
其它类似信息

推荐信息