Create table Patient( Fullname varchar(55) not null, Phone varchar(13) not null, Birthday date, DataMetting date, Notice varchar(1000), primary key(Fullname,Phone) ); Create table Specialist( Fullname varchar(55) not null, Phone varchar(13) not null, Birthday date, Education varchar(1000), DateToWork date, primary key(Fullname,Phone) ); insert into SPECIALIST(PHONE , FULLNAME , EDUCATION, BIRTHDAY) values ('011','A','vuz1','1996-AUG-24'); insert into SPECIALIST(PHONE , FULLNAME , EDUCATION) values ('323','B','vuz2'); An error
Error report - ORA-00001: unique constraint (SYSTEM.SYS_C0011799) violated Its translation is clear, but the essence is not much. And another problem, why is not the date added. Oracle DBMS.
Thank !