a guest Feb 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- INSERT INTO tableA (xField, yField, zField) VALUES (x, y, z);
- INSERT INTO tableB (uField, vField, wField) VALUES (u, v, w);
- INSERT INTO tableC (tableA_id, tableB_id) VALUES (
- SELECT id from tableA WHERE xField=x,
- SELECT id from tableB WHERE bField=b,
RAW Paste Data