daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CREATE TABLE table1
  2. (
  3.     ID INT NOT NULL,
  4.     PRIMARY KEY (ID)
  5. ) ENGINE=InnoDB;
  6.  
  7. CREATE TABLE table2
  8. (
  9.     ID INT NOT NULL,
  10.     FID INT NOT NULL ,
  11.     PRIMARY KEY (ID),
  12.     FOREIGN KEY (FID) REFERENCES table1 (ID)
  13. ) ENGINE=InnoDB;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top