i have a table called complaints
complaints(uid ,cid,subject description) where uid and cid are composite primary key
and another table called
complaints_access(uid,cid, creationtime)where again uid and cid are composite primary key
where cid of complaints_access refers to cid of cid of complaints(foreign key).
now it shows the following error
SQL0573N A column list specified in the references clause of constraint
"CID..." does not identify a unique constraint of the parent table