SQL - Table Relationships
Consider this table creation:
What is wrong with this statement?
CREATE TABLE Orders (OrderID INT PRIMARY KEY, CustomerID INT, FOREIGN KEY CustomerID REFERENCES Customers(CustomerID));What is wrong with this statement?
