Answers for "sql how to have 2 primary keys"

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 how to have 2 primary keys"

Code answers related to "SQL"

Browse Popular Code Answers by Language