delimiter $$ create procedure mergeData() begin declare counter, rowws int default 0; set rowws = (select count(*) from new_branches); begin whil