Changes between Version 11 and Version 12 of UseCaseModel/AddingShipment


Ignore:
Timestamp:
12/22/24 22:58:35 (3 weeks ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCaseModel/AddingShipment

    v11 v12  
    1616{{{
    1717select
    18     s.shipment_id,
    19     s.shipment_date,
     18        s.shipment_id,
     19        s.shipment_date,
    2020    (
    2121        SELECT STRING_AGG(DISTINCT c.customer_name, ', ')
     
    2424        WHERE sl.shipment_id = s.shipment_id
    2525    ) AS customer_names,
    26     e.employee_name,
    27     e.employee_surname,
    28     v.make,
    29     v.model,
    30     v.registration
     26        CONCAT(e.employee_name, ' ', e.employee_surname) AS employee_full_name,
     27        CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS vehicle_info
    3128FROM shipment s
    3229JOIN employee e ON s.employee_id = e.employee_id