1 | INSERT INTO public.wine_Type (Wine_Type_Name, Wine_Type_Description, Wine_Type_Region)
|
---|
2 | values
|
---|
3 | ('Chardonnay','Bogat i kremast so noti na jabolko, citrus, i tropski ovoshja, chesto so kremasta tekstura dokolku e chuvan vo bure od dab.','Poloski Region'),
|
---|
4 | ('Sauvignon Blanc','Svez i zestok so vkus na limeta, zeleno jabolko, i herbalni tonovi kako treva ili zelena piperka.','Loire Valley, Ovcepolski Region'),
|
---|
5 | ('Pinot Noir','Lesno telo so svetli crveni ovoshni vkusi kako cherries, malini, i brusnica, dopolneti so zemjesti ili cvetni noti.','Kumanovski Region'),
|
---|
6 | ('Cabernet Sauvignon','Silen vkus na crna ribizla, crna kapina, i tragovi na tutun ili dab','Kratovski Region'),
|
---|
7 | ('Riesling','Aromatichen i cveten so vkusovi koi se dvizhat od zestok citrus do koskesti ovoshja, chesto so osvezhitelna kiselost. Mozhe da bide suv ili sladok.','Kavadarecki Region');
|
---|
8 |
|
---|
9 | insert into public.Wine (Wine_Name, Base_Price, Year_Produced, Wine_Type_Id)
|
---|
10 | values
|
---|
11 | ('Monteko Chardonnay', 50,'2023-12-10 14:30:00',1),
|
---|
12 | ('Monteko Premium Chardonnay', 80,'2022-12-10 14:30:00',1),
|
---|
13 | ('Monteko Sauvignon Blanc', 30,'2021-12-10 14:30:00',2),
|
---|
14 | ('Monteko Premium Sauvignon Blanc', 90,'2022-11-10 14:30:00',2),
|
---|
15 | ('Monteko Pinot Noir', 100,'2020-12-10 14:30:00',3),
|
---|
16 | ('Monteko Premium Pinot Noir', 150,'2020-08-10 14:30:00',3),
|
---|
17 | ('Monteko Cabernet Sauvignon', 50,'2013-12-10 14:30:00',4),
|
---|
18 | ('Monteko Premium Cabernet Sauvignon', 250,'2017-12-10 14:30:00',4),
|
---|
19 | ('Monteko Riesling', 150,'2018-12-10 14:30:00',5),
|
---|
20 | ('Monteko Premium Riesling', 350,'2010-12-10 14:30:00',5);
|
---|
21 |
|
---|
22 | insert into public.Customer_Type (Customer_Type_Name, Customer_Type_Description)
|
---|
23 | values
|
---|
24 | ('Supermarket','Golema prodavnica koja prodava poveketo tipovi na hrana i drugi proizvodi potrebni vo domot.'),
|
---|
25 | ('Kafana','Mesta kade lugjeto odat da jadat, pijat i razgovaraat.'),
|
---|
26 | ('Sopstvena Upotreba','Prodazhba na edno domakinstvo ili eden chovek za sopstvena upotreba.'),
|
---|
27 | ('Uvoz/Izvoz','Firmi koi vrshat uvoz/izvoz nadvor od zemjata.');
|
---|
28 |
|
---|
29 | insert into public.Address (Street, City, Building_number, Postcode)
|
---|
30 | values
|
---|
31 | ('Ilindenska','Skopje',17,'1000'),
|
---|
32 | ('Pitu Guli','Tetovo',2,'1232'),
|
---|
33 | ('Jane Sandanski','Kumanovo',13,'0077'),
|
---|
34 | ('Goce Delcev','Kicevo',2,'5643'),
|
---|
35 | ('Koco Racin','Veles',87,'4324'),
|
---|
36 | ('Bulevar 1','Stip',13,'6547'),
|
---|
37 | ('Glaven Bulevar','Strumica',15,'1111'),
|
---|
38 | ('Chairska','Kratovo',43,'1360'),
|
---|
39 | ('Dolnomalska','Kratovo',1,'1360'),
|
---|
40 | ('Partizanska','Skopje',100,'1000');
|
---|
41 |
|
---|
42 | insert into public.Customer (Customer_Name, Customer_Email, Customer_Phone_Number, Customer_Type_Id, Address_Id)
|
---|
43 | values
|
---|
44 | ('Rustikana','rustikana@email.com', '+389/77-434-232',2, 1),
|
---|
45 | ('Ramstor Glaven Magacin','ramstor@email.com', '+389/77-443-232',1, 2),
|
---|
46 | ('Vero Glaven Magacin','vero@email.com', '+389/77-434-265',1, 3),
|
---|
47 | ('Jane Janev','janejanev@email.com', '+389/77-434-232',3, 5),
|
---|
48 | ('Trajkovi Uvoz/Izvoz','trajkoviui@email.com', '+389/77-434-232',4, 4),
|
---|
49 | ('Kafana Skopje','kafanaskopje@email.com', '+389/77-332-232',2, 6),
|
---|
50 | ('Atanas Spasev','atanas@email.com', '+389/77-552-232',3, 7);
|
---|
51 |
|
---|
52 | insert into public.Vehicle_Type (Vehicle_Type_Name)
|
---|
53 | values
|
---|
54 | ('Kamion'),
|
---|
55 | ('Kombe'),
|
---|
56 | ('Kola');
|
---|
57 |
|
---|
58 | insert into public.Vehicle_Details (Vehicle_Type_Id, Make, Model, Capacity)
|
---|
59 | values
|
---|
60 | (2,'Ford','Cargo', 20000),
|
---|
61 | (1,'MAN','TGL', 15000),
|
---|
62 | (2,'Ford','Transit', 8000),
|
---|
63 | (2,'Peugeot','Expert', 5000),
|
---|
64 | (3,'Peugeot','Partner', 2000),
|
---|
65 | (3,'Ford','Escort', 1000),
|
---|
66 | (3,'Citroen','C3', 1000);
|
---|
67 |
|
---|
68 | insert into public.Vehicle (Vehicle_Details_Id, Registration)
|
---|
69 | values
|
---|
70 | (1,'kr-434-sk'),
|
---|
71 | (1,'kr-332-sk'),
|
---|
72 | (2,'kr-356-sk'),
|
---|
73 | (3,'kr-196-sk'),
|
---|
74 | (3,'kr-897-sk'),
|
---|
75 | (4,'kr-934-sk'),
|
---|
76 | (5,'kr-237-sk'),
|
---|
77 | (6,'kr-646-sk'),
|
---|
78 | (7,'kr-223-sk');
|
---|
79 |
|
---|
80 | insert into public.Payment (Payment_Status)
|
---|
81 | values
|
---|
82 | (0),
|
---|
83 | (0),
|
---|
84 | (0),
|
---|
85 | (1),
|
---|
86 | (1),
|
---|
87 | (0),
|
---|
88 | (0),
|
---|
89 | (1),
|
---|
90 | (1);
|
---|
91 |
|
---|
92 | insert into public.Expense_Type (Expense_Type_Name, Expense_Type_Description)
|
---|
93 | values
|
---|
94 | ('Gorivo','Gorivo Potroseno za vreme na dostavata za dvata pravci.(idenje i vrakjanje)'),
|
---|
95 | ('Patarina', 'Trosoci za patarina za dvata pravci.(idenje i vrakjanje)'),
|
---|
96 | ('Nepredvideni Trosoci', 'Site nepredvideni trosoci so koi moze da se sretneme za vreme na dostava.');
|
---|
97 |
|
---|
98 | insert into public.Warehouse (Warehouse_Name, Address_Id)
|
---|
99 | values
|
---|
100 | ('Glaven Magacin', 8),
|
---|
101 | ('Magacin 1', 9),
|
---|
102 | ('Magacin Skopje', 10);
|
---|
103 |
|
---|
104 | insert into public.Employee (Employee_Name, Employee_Surname, Warehouse_Id)
|
---|
105 | values
|
---|
106 | ('Trajce','Trajcev', 1),
|
---|
107 | ('Janko','Janev', 1),
|
---|
108 | ('Mite','Mitev', 1),
|
---|
109 | ('Vlado','Georgiev', 1),
|
---|
110 | ('Toshe','Toshev', 2),
|
---|
111 | ('Vlatko','Ratevski', 2),
|
---|
112 | ('Nikola','Nikolov', 3),
|
---|
113 | ('Toshe','Janev', 3),
|
---|
114 | ('Filip', 'Filipov', 3);
|
---|
115 |
|
---|
116 | insert into public.employee_drives_vehicle ( Vehicle_Id, Employee_Id )
|
---|
117 | values
|
---|
118 | (1,1),
|
---|
119 | (2,1),
|
---|
120 | (5,1),
|
---|
121 | (6,2),
|
---|
122 | (8,2),
|
---|
123 | (3,3),
|
---|
124 | (4,3),
|
---|
125 | (7,4),
|
---|
126 | (9,5),
|
---|
127 | (2,5),
|
---|
128 | (2,6),
|
---|
129 | (4,7),
|
---|
130 | (5,8),
|
---|
131 | (8,9),
|
---|
132 | (3,9);
|
---|
133 |
|
---|
134 | insert into public.Shipment (Employee_Id, Payment_Id, Vehicle_Id, Shipment_Date)
|
---|
135 | values
|
---|
136 | (1,1,1,'2024-12-10 14:30:00'),
|
---|
137 | (1,2,5,'2024-12-09 14:30:00'),
|
---|
138 | (2,3,6,'2024-12-08 14:30:00'),
|
---|
139 | (2,4,6,'2024-12-07 14:30:00'),
|
---|
140 | (5,5,2,'2024-12-06 14:30:00'),
|
---|
141 | (6,6,2,'2024-12-06 14:30:00'),
|
---|
142 | (6,7,2,'2024-12-04 14:30:00'),
|
---|
143 | (9,8,8,'2024-12-03 14:30:00'),
|
---|
144 | (4,9,7,'2024-12-03 14:30:00');
|
---|
145 |
|
---|
146 | insert into public.shipment_has_expense_of_expense_type (Expense_Type_Id, Shipment_Id, Amount)
|
---|
147 | values
|
---|
148 | (1,1,2500),
|
---|
149 | (1,2,2000),
|
---|
150 | (1,3,1500),
|
---|
151 | (1,4,3000),
|
---|
152 | (1,5,3500),
|
---|
153 | (1,6,2100),
|
---|
154 | (1,7,2200),
|
---|
155 | (1,8,1000),
|
---|
156 | (1,9,1500),
|
---|
157 | (2,4,400),
|
---|
158 | (2,2,250),
|
---|
159 | (2,6,300),
|
---|
160 | (2,7,800),
|
---|
161 | (3,7,400),
|
---|
162 | (3,8,700);
|
---|
163 |
|
---|
164 | insert into public.shipment_load (Shipment_Id, Customer_Id, Wine_Id, Wine_Agreed_Price, Wine_Base_Price, Wine_Quantity)
|
---|
165 | values
|
---|
166 | (1, 2, 1, 90, 50, 7000),
|
---|
167 | (1, 2, 2, 170, 80, 12000),
|
---|
168 | (2, 1, 3, 50, 30, 7000),
|
---|
169 | (3, 6, 5, 150, 100, 4500),
|
---|
170 | (4, 1, 8, 400, 250, 2000),
|
---|
171 | (4, 6, 7, 60, 50, 2500),
|
---|
172 | (5, 3, 9, 200, 150, 8000),
|
---|
173 | (5, 3, 8, 450, 250, 10000),
|
---|
174 | (5, 7, 8, 600, 250, 50),
|
---|
175 | (6, 5, 6, 275, 150, 17000),
|
---|
176 | (7, 2, 3, 45, 30, 15000),
|
---|
177 | (7, 2, 4, 150, 90, 3000),
|
---|
178 | (8, 6, 7, 75, 50, 7000),
|
---|
179 | (9, 4, 10, 650, 350, 50),
|
---|
180 | (9, 7, 9, 220, 150, 30); |
---|