Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL PRIMARY KEY Constraint

CREATE TABLE Colleges (
  college_id INT PRIMARY KEY,
  college_code VARCHAR(20) NOT NULL,
  college_name VARCHAR(50)
);
Source by wlearnsmart.com #
 
PREVIOUS NEXT
Tagged: #SQL #PRIMARY #KEY #Constraint
ADD COMMENT
Topic
Name
2+4 =