I have the following SQL temp table which is a result of an SQL query

I am trying to SUM columns numitems and ignoreditems where all the other columns match
I tried something like the following query:
SELECT
catalogid,
sum(numitems), sum(ignoreditesm)
FROM ##temporderstable
GROUP BY
catalogid, supplierid, cname, cprice, cstock, ccode, minstock, pother4
I can’t seem to get it to work
I get an error
numitems doesn’t belong to the table
although I can see it when I run the command
select * from ##temporderstable
Try to add aliases: