From ad45f94f23b4b840eb9f5dcc2dd95383776ab237 Mon Sep 17 00:00:00 2001 From: Ivan Bogosavljevic <136277150+Nuvve@users.noreply.github.com> Date: Tue, 16 Apr 2024 23:27:14 +0200 Subject: [PATCH] Create initialdata --- initialdata | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 initialdata diff --git a/initialdata b/initialdata new file mode 100644 index 0000000..70e21a7 --- /dev/null +++ b/initialdata @@ -0,0 +1,46 @@ +INSERT INTO Customer(name, address) VALUES + ('Finkakor AB', 'Helsingborg'), + ('Småbröd AB', 'Malmö'), + ('Kaffebröd AB', 'Landskrona'), + ('Bjudkakor AB', 'Ystad'), + ('Kalaskakor AB', 'Trelleborg'), + ('Partykakor AB', 'Kristianstad'), + ('Gästkakor AB', 'Hässleholm'), + ('Skånekakor AB', 'Perstorp'); + +INSERT INTO Cookie(name) VALUES + ('Nut ring'), + ('Nut cookie'), + ('Amneris'), + ('Tango'), + ('Almond delight'), + ('Berliner'); + +INSERT INTO Ingredient(name, stock, unit) VALUES + ('Bread crumbs', 500000, 'g'), + ('Butter', 500000, 'g'), + ('Chocolate', 500000, 'g'), + ('Chopped almonds', 500000, 'g'), + ('Cinnamon', 500000, 'g'), + ('Egg whites', 500000, 'ml'), + ('Eggs', 500000, 'g'), + ('Fine-ground nuts', 500000, 'g'), + ('Flour', 500000, 'g'), + ('Ground, roasted nuts', 500000, 'g'), + ('Icing sugar', 500000, 'g'), + ('Marzipan', 500000, 'g'), + ('Potato starch', 500000, 'g'), + ('Roasted, chopped nuts', 500000, 'g'), + ('Sodium bicarbonate', 500000, 'g'), + ('Sugar', 500000, 'g'), + ('Vanilla sugar', 500000, 'g'), + ('Vanilla', 500000, 'g'), + ('Wheat flour', 500000, 'g'); + +INSERT INTO Recipe (ingredient_id, cookie_id, amount) VALUES + (2, 1, 450),(9, 1, 450),(11, 1, 190),(14, 1, 225), + (2, 2, 125),(3, 2, 50),(6, 2, 350),(8, 2, 750),(10, 2, 625),(16, 2, 375), + (2, 3, 250),(7, 3, 250),(12, 3, 750),(13, 3, 25),(19, 3, 25), + (2, 4, 200),(9, 4, 300),(15, 4, 4),(16, 4, 250),(18, 4, 2), + (2, 5, 400),(4, 5, 279),(5, 5, 10),(9, 5, 400),(16, 5, 270), + (2, 6, 250),(3, 6, 50),(7, 6, 50),(9, 6, 350),(11, 6, 100),(17, 6, 5);