Not sure about the MySQL environment in windows, but i believe the select statement is wrong.

It should be :

select sum(item_id) into @It from item ;
select @it;