Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Jun 13th, 2018 46 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. CREATE TABLE table1
  2. (
  3.     ID INT NOT NULL,
  4.     PRIMARY KEY (ID)
  5. ) ENGINE=InnoDB;
  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