使用mysql存储过程,如何把查询出来的集合复制个变量。 #select adminAccountId into _acId from adminaccountgroupmember where adminAccountGroupId=ag_id;
set _acId=(select adminaccountId from adminaccountgroupmember);
select COUNT(_acId) into @count;
select _acId;