From 55fe9f2f8649de968e68ac7eab3eaf9cc7b03353 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 9 Sep 2024 08:16:04 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20refs=20#7709=20a=C3=B1adir=20alias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/routines/vn/procedures/supplierPackaging_ReportSource.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/routines/vn/procedures/supplierPackaging_ReportSource.sql b/db/routines/vn/procedures/supplierPackaging_ReportSource.sql index a20905552..ab05e6aa0 100644 --- a/db/routines/vn/procedures/supplierPackaging_ReportSource.sql +++ b/db/routines/vn/procedures/supplierPackaging_ReportSource.sql @@ -69,7 +69,7 @@ BEGIN SUM(`out`), NULL, AVG(buyingValue) - FROM supplierPackaging + FROM supplierPackaging sp JOIN supplier s ON s.id = sp.supplierFk WHERE s.nif = vNif AND landed < vFromDated