Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. /* for insert */
  2. insert into articles (title) values ('insert_test');
  3. select * from articles;
  4. select * from trigger_sample;
  5.  
  6. /* for udpate */
  7. update articles set title = 'update_test' where id = 1;
  8. select * from articles;
  9. select * from trigger_sample;
  10.  
  11. /* for delete */
  12. delete from articles where id = 1;
  13. select * from articles;
  14. select * from trigger_sample;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement