create procedure sp_queryCount (out rowCount int)begin declare rows int default 0; ...