8062-testToMaster_2 #3059

Merged
alexm merged 293 commits from 8062-testToMaster_2 into master 2024-10-03 05:43:41 +00:00
1 changed files with 70 additions and 71 deletions
Showing only changes of commit ed8cf628a5 - Show all commits

View File

@ -48,8 +48,7 @@ BEGIN
GROUP BY itemFk
),
sold AS (
SELECT SUM(s.quantity) AS quantity,
s.itemFk
SELECT SUM(s.quantity) AS 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