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是变量 如何插入进去?