ظهرة عندي مشكلة في انشاء بعض الجداول حيث تظهر لي رسالة خطاء عند سطر قيد المفتاح الاساسي او المفتاح الاجنبي مع انني انشأة جداول بنفس الطريقة لقيد المفتاح الاساسي و الاجنبي و تم انشاء الحدول بنجاح و لكن في جداول اخرى تظهر لي رسالة تقول يوجد قيد يستخدم كالاسم بالفعل
و كود الجدول هو التالي
create table Contracts (contract_n number(7)not null, realest_n number(6)not null, price number(7) not null, comm number(5)null, date_c date not null, costu_n number(6) not null, constraint contract_n_pk primary key(contract_n), constraint realest_n_fk foreign key(realest_n)references RealEstates(realest_n), constraint costu_n_fk foreign key(costu_n)references Costumers(costu_n));