| 86 | - Додаваме плаќање, достава и товар по редослед. |
| 87 | {{{ |
| 88 | BEGIN; |
| 89 | |
| 90 | INSERT INTO public.Payment (Payment_Id, Payment_Status) |
| 91 | VALUES |
| 92 | (15, 0); |
| 93 | |
| 94 | INSERT INTO public.Shipment (Shipment_Id, Employee_Id, Payment_Id, Vehicle_Id, Shipment_Date) |
| 95 | VALUES |
| 96 | (15, 1, 15, 1, now()); |
| 97 | |
| 98 | INSERT INTO public.shipment_load (Shipment_Id, Customer_Id, Wine_Id, Wine_Agreed_Price, Wine_Base_Price, Wine_Quantity) |
| 99 | VALUES |
| 100 | (15, 1, 1, 150, 50, 20), |
| 101 | (15, 1, 2, 90, 80, 50), |
| 102 | (15, 2, 2, 100, 80, 50); |
| 103 | |
| 104 | COMMIT; |
| 105 | }}} |