Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.40 KB | None | 0 0
  1. CREATE TABLE locations (
  2. locationID int,
  3. location varchar,
  4. customerID int,
  5. PRIMARY KEY (locationID),
  6. FOREIGN KEY (customerID) REFERENCES customers(customerID)
  7. )
  8.  
  9. #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '
  10. customerID int,
  11. PRIMARY KEY (locationID),
  12. FOREIGN KEY (customerID) REFERENCE' at line 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement