This commit is contained in:
parent
da00e368d1
commit
55fe9f2f86
|
@ -69,7 +69,7 @@ BEGIN
|
||||||
SUM(`out`),
|
SUM(`out`),
|
||||||
NULL,
|
NULL,
|
||||||
AVG(buyingValue)
|
AVG(buyingValue)
|
||||||
FROM supplierPackaging
|
FROM supplierPackaging sp
|
||||||
JOIN supplier s ON s.id = sp.supplierFk
|
JOIN supplier s ON s.id = sp.supplierFk
|
||||||
WHERE s.nif = vNif
|
WHERE s.nif = vNif
|
||||||
AND landed < vFromDated
|
AND landed < vFromDated
|
||||||
|
|
Loading…
Reference in New Issue