Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL FOREIGN KEY Constraint

CREATE TABLE Orders (
  order_id INT PRIMARY KEY,
  customer_id int REFERENCES Customers(id)
);
Source by www.riverfronttimes.com #
 
PREVIOUS NEXT
Tagged: #SQL #FOREIGN #KEY #Constraint
ADD COMMENT
Topic
Name
3+9 =