daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Feb 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INSERT INTO tableA (xField, yField, zField) VALUES (x, y, z);
  2. INSERT INTO tableB (uField, vField, wField) VALUES (u, v, w);
  3.    
  4. INSERT INTO tableC (tableA_id, tableB_id) VALUES (
  5.     SELECT id from tableA WHERE xField=x,
  6.     SELECT id from tableB WHERE bField=b,
  7. )
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