Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql composite primary key

CREATE TABLE voting (
  QuestionID NUMERIC,
  MemberID NUMERIC,
  PRIMARY KEY (QuestionID, MemberID)
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #composite #primary #key
ADD COMMENT
Topic
Name
9+1 =