can primary key contains two entities code example
Example: how to make multiple keys as primary in bdms
CREATE TABLE `Donor`(
`did` int(50) NOT NULL,
`oid` int(50) NOT NULL,
`dname` varchar(50) NOT NULL,
`dblood` varchar(50) NOT NULL,
PRIMARY KEY (`did`, `oid`)
);