Changes between Version 9 and Version 10 of UseCaseModel/AddingShipment


Ignore:
Timestamp:
12/22/24 22:54:29 (3 weeks ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCaseModel/AddingShipment

    v9 v10  
    1313[[Image(Step_1.png)]]
    1414
     15       
     16{{{
     17select
     18        s.shipment_id,
     19    s.shipment_date,
     20    (
     21        SELECT STRING_AGG(DISTINCT c.customer_name, ', ')
     22        FROM shipment_load sl
     23        JOIN customer c ON sl.customer_id = c.customer_id
     24        WHERE sl.shipment_id = s.shipment_id
     25    ) AS customer_names,
     26    e.employee_name,
     27    e.employee_surname,
     28    v.make,
     29    v.model,
     30    v.registration
     31FROM shipment s
     32JOIN employee e ON s.employee_id = e.employee_id
     33JOIN vehicle v ON s.vehicle_id = v.vehicle_id
     34ORDER BY s.shipment_date desc
     35}}}
     36
     37
    1538     ==== Чекор 2.
    1639        * Магационерот го клика копчето **Додади достава** над табелата