load-ingredients.sql 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (1,'avocado',null);
  2. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (2,'banana',null);
  3. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (3,'chocolate chips (dark)',null);
  4. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (4,'chocolate chips (milk)',null);
  5. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (5,'cornmeal',null);
  6. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (6,'cumin',null);
  7. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (7,'dill',null);
  8. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (8,'egg',null);
  9. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (9,'fennel',null);
  10. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (10,'flour (buckwheat)',null);
  11. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (11,'flour (rye)',null);
  12. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (12,'flour (white)',null);
  13. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (13,'flour (whole wheat)',null);
  14. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (14,'garlic',null);
  15. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (15,'ice cube',null);
  16. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (16,'leek',null);
  17. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (17,'lemon',null);
  18. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (18,'lime',null);
  19. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (19,'milk (cow)',null);
  20. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (20,'milk (soy)',null);
  21. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (21,'milk (rice)',null);
  22. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (22,'mozzarella',null);
  23. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (23,'mushroom (white)',null);
  24. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (24,'olive oil (extra virgin)',null);
  25. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (25,'parchment paper',null);
  26. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (26,'Parmesan',null);
  27. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (27,'pepper',null);
  28. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (28,'porcini (dried)',null);
  29. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (29,'salt',null);
  30. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (30,'vinegar (balsamic)',null);
  31. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (31,'vinegar (champagne)',null);
  32. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (32,'vinegar (red wine)',null);
  33. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (33,'water',null);
  34. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (34,'wine (white)',null);
  35. INSERT INTO ingredient (ingredientid,ingr_name,description) VALUES (35,'wine (red)',null);
  36. UPDATE HIBERNATE_UNIQUE_KEY SET NEXT_HI = 1 + (select max(id) from (
  37. select baseid as id from base union
  38. select courseid as id from course union
  39. select difficultyid as id from difficulty union
  40. select ethnicityid as id from ethnicity union
  41. select ingredientid as id from ingredient union
  42. select preptimeid as id from preptime union
  43. select relationkindid as id from relationkind union
  44. select systemid as id from measurement_system union
  45. select unitid as id from unit union
  46. select userid as id from users
  47. ) as sub);