You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1008 B

3 years ago
  1. insert into
  2. authors (author_name)
  3. values
  4. ('Author1');
  5. insert into
  6. authors (author_name)
  7. values
  8. ('Author2');
  9. insert into
  10. authors (author_name)
  11. values
  12. ('Author3');
  13. insert into
  14. books (isbn, book_title, author_id)
  15. values
  16. ('aebwegbwe', 'book1', 3);
  17. insert into
  18. books (isbn, book_title, author_id)
  19. values
  20. ('abeqegbqeg', 'book2', 2);
  21. insert into
  22. books (isbn, book_title, author_id)
  23. values
  24. ('aebhqeqegq', 'book3', 1);
  25. insert into
  26. books_store (book_id, quantity)
  27. values
  28. (1, 5);
  29. insert into
  30. books_store (book_id, quantity)
  31. values
  32. (2, 3);
  33. insert into
  34. books_store (book_id, quantity)
  35. values
  36. (3, 8);
  37. insert into
  38. book_expiry (book_id, discontinued)
  39. values
  40. (1, false);
  41. insert into
  42. book_expiry (book_id, discontinued)
  43. values
  44. (2, false);
  45. insert into
  46. book_expiry (book_id, discontinued)
  47. values
  48. (3, false);
  49. insert into
  50. users (user_name)
  51. values
  52. ('user1');
  53. insert into
  54. users (user_name)
  55. values
  56. ('user2');