When executing the stored procedure for productID P1, it incorrectly calculates 0 items sold for 2020, individual query showing 35 items sold in 2020
i made a stored procedure that outputs the total number of items sold during the last three years for the P1 Product ID. Input the ProductID when invoking the procedure.