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 codingsight.com #
 
PREVIOUS NEXT
Tagged: #SQL #FOREIGN #KEY #Constraint
ADD COMMENT
Topic
Name
8+1 =