Подгонка под РПЗ

This commit is contained in:
2024-12-11 23:42:22 +03:00
parent 6c435f6bb7
commit 5505d4bb2a
5 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
SELECT w.waybill_date AS 'Дата поставки',
SELECT DATE_FORMAT(w.waybill_date, '%Y-%m-%d') AS 'Дата поставки',
TIME_FORMAT(w.waybill_date, '%H:%i') AS 'Время поставки',
SUM(w.total) AS 'Общая сумма (в рублях)',
SUM(wl.amount) as 'Общее количество заготовок'
FROM waybill w