I am new to PL/SQL and am trying to create a stored procedure that will populate a table with the code below:

```
DROP TABLE Times CASCADE CONSTRAINTS;

CREATE TABLE Times (
    sale_day DATE NOT NULL,
    day_type VARCHAR2(50) NOT NULL, 
    PRIMARY KEY (sale_day));

CREATE OR REPLACE PROCEDURE Time_Procedure
AS
    l_sale_date date;
    temp_value varchar2(5);
CURSOR c1 IS SELECT SALE_DATE FROM SALES;

BEGIN
    OPEN c1;
    LOOP
        FETCH c1 INTO l_sale_date;
        EXIT WHEN c1%NOTFOUND;
        SELECT to_char(to_date(l_sale_date), 'DY') into temp_value from 
dual;
        IF l_sale_date LIKE '01-JAN-%' OR l_sale_date LIKE '21-JAN-%' OR 
           l_sale_date LIKE '18-FEB-%' OR l_sale_date LIKE '28-MAY-%' 
           OR l_sale_date LIKE '04-JUL-%' OR l_sale_date LIKE '03-SEP-%' OR 
           l_sale_date LIKE '08-OCT-%' OR l_sale_date LIKE '11-NOV-%' 
           OR l_sale_date LIKE '22-NOV-%' OR l_sale_date LIKE '25-DEC-%'  
THEN
            INSERT INTO Times values(l_sale_date,'Holiday');
        ELSE IF temp_value='MON' OR temp_value ='TUE' OR temp_value='WED' OR 
temp_value='THU' OR temp_Value='FRI' THEN
            INSERT INTO Times values(l_sale_date,'Weekday');
        ELSE
            INSERT INTO Time values(l_sale_date,'Weekend');
        END IF;
    END LOOP;
    CLOSE c1;
END;
/

```

But I keep getting the following error:

LINE/COL ERROR

---

20/1 PL/SQL: SQL Statement ignored

20/13 PL/SQL: ORA-00942: table or view does not exist

I have been looking at this for sometime and cannot figure out what is wrong with my code to result in error.