1) You need the keyword IS or AS before BEGIN
2) "SELECT name INTO temp_table" expects to find a VARIABLE called "temp_table", not a table. To insert data into a table requires an INSERT statement.
Try this:
Code:
CREATE OR REPLACE PROCEDURE get_parts (pizza IN VARCHAR2)
IS
BEGIN
INSERT INTO temp_table(ingredient)
SELECT NAME
FROM pizza_items
WHERE pizza = USED_IN;
END;
/