```
create table Doctor
(
    docID INTEGER,
    appointID INTEGER not null,
    regnum CHAR(6),   
    doc_name VARCHAR(40),
    doc_gender CHAR(1),
    qual VARCHAR(80),       

    primary key (docID),
    foreign key (appointID) references Appointment
);

INSERT INTO Doctor 
VALUES(1, 1, 'ABC001', 'Steven Arrow', 'M', 'Bachelor of Medicine  and Surgery, Deakin University, 1980');

```

I keep getting an error:

> 
> ORA-00001: unique constraint (S3705969.SYS\_C001160460) violated
> 
> 
> 

What am I doing wrong?