multiple_statements_with_comments.sql 287 B

12345678910111213
  1. -- Insert first value
  2. INSERT INTO prefix_sometable (`key`) VALUES ('Value 1');
  3. -- Update first value
  4. UPDATE prefix_sometable
  5. SET `key` = 'Value 2'
  6. WHERE `key` = 'Value 1'
  7. ;
  8. # And some other comment
  9. -- Insert third value
  10. INSERT INTO prefix_sometable (`key`) VALUES ('Value 3');