Answers for "double primary key"

SQL
2

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`)
);
Posted by: Guest on May-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language