Guest User

Untitled

a guest
Apr 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. GUID-PK Name favorite_number modifiedon
  2. 00000B9D... Ben 10 '2017-01-01'
  3. 000A82A5... Harry 9 '2017-05-15'
  4. 000A9896... Fred 5 '2017-12-19'
  5.  
  6. GUID-PK Name favorite_number modifiedon
  7. 00000B9D... Ben 15 '2018-01-01'
  8. 000A82BB... John 3 '2018-03-15'
  9. 000A4455... Ray 13 '2018-04-01'
  10.  
  11. DELETE FROM mysql_table WHERE GUID-PK IN (SELECT GUID-PK FROM mysql_temp_table)
  12.  
  13. INSERT INTO mysql_table (SELECT * FROM temp_table)
  14.  
  15. "Duplicate entry '0' for key 'PRIMARY'") [SQL: 'INSERT INTO mysql_table SELECT * FROM mysql_temp_table'
Add Comment
Please, Sign In to add comment