Поставка заготовок за промежуток времени

This commit is contained in:
Anton Kamalov
2024-10-24 16:31:44 +03:00
parent 339fd3809e
commit e1d0510669
5 changed files with 12 additions and 6 deletions

View File

@@ -7,4 +7,5 @@ JOIN waybill_lines wl USING(waybill_id)
JOIN workpiece USING(work_id)
JOIN sellers USING(sel_id)
WHERE workpiece.material = '${material}'
AND (w.date_of_delivery BETWEEN '${date_from}' AND '${date_to}')
GROUP BY sellers.name, w.date_of_delivery;