Changes between Version 33 and Version 34 of UseCaseModel/AddingShipment
- Timestamp:
- 12/27/24 22:56:41 (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCaseModel/AddingShipment
v33 v34 44 44 {{{ 45 45 select 46 e.employee_id,47 CONCAT(e.employee_name, ' ', e.employee_surname) AS employee_full_name48 from employee e 46 e.employee_id as Id, 47 CONCAT(e.employee_name, ' ', e.employee_surname) AS Name 48 from employee e 49 49 }}} 50 50 … … 52 52 {{{ 53 53 select 54 v.vehicle_id, 55 CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS vehicle_info 54 v.vehicle_id as Id, 55 CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS Name, 56 edv.employee_id as EmployeeId, 57 v.capacity as Capacity 56 58 from employee_drives_vehicle edv 57 join vehicle v on edv.vehicle_id = v.vehicle_id 58 where edv.employee_id = 1 59 join vehicle v on edv.vehicle_id = v.vehicle_id 59 60 }}} 60 61 * Приказ на Клиенти 61 62 {{{ 62 63 select 63 c.customer_id, 64 CONCAT(c.customer_name , ' (', a.city , ' ', a.street ,' ',a.building_number, ' ', a.postcode, ')') AS customer_info 64 c.customer_id as Id, 65 CONCAT(c.customer_name , ' (', a.city , ' ', a.street ,' ',a.building_number, ' ', a.postcode, ')') AS Name, 66 CONCAT(a.city ,' ', a.street ,' ',a.building_number,' ', a.postcode) AS Address 65 67 from customer c 66 68 join address a on c.address_id = a.address_id … … 69 71 {{{ 70 72 select 71 w.wine_id, 72 CONCAT(w.wine_name , ' (', wt.wine_type_name,', ', wt.wine_type_region,')') AS wine_info 73 from wine w 73 w.wine_id as Id, 74 CONCAT(w.wine_name , ' (', wt.wine_type_name,', ', wt.wine_type_region,')') AS Name, 75 w.base_price as BasePrice 76 from wine w 74 77 join wine_type wt on w.wine_type_id = wt.wine_type_id 75 78 }}}