8032-devToTest_2440 #3009

Merged
alexm merged 262 commits from 8032-devToTest_2440 into test 2024-09-24 09:34:49 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 10f7583587 - Show all commits

View File

@ -48,7 +48,7 @@ BEGIN
GROUP BY itemFk
),
sold AS (
SELECT SUM(s.quantity) AS quantity, s.itemFk
SELECT SUM(s.quantity) quantity, s.itemFk
FROM vn.sale s
JOIN vn.ticket t ON t.id = s.ticketFk
LEFT JOIN vn.itemShelvingSale iss ON iss.saleFk = s.id