salix/print/templates/reports/vehicle-event-expired/sql/vehicleEvents.sql

7 lines
148 B
SQL

SELECT
v.numberPlate,
ve.description,
ve.finished
FROM vehicleEvent ve
JOIN vehicle v ON v.id = ve.vehicleFk
WHERE ve.id IN (?)