From f49a9436f383f5207f6aafdcf435acd863f7e368 Mon Sep 17 00:00:00 2001 From: loviuz Date: Fri, 22 Jan 2021 21:21:06 +0100 Subject: [PATCH] Miglioramento query di aggiornamento fornitore --- update/2_4_21.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/2_4_21.sql b/update/2_4_21.sql index 15901623e..38cd8c27e 100644 --- a/update/2_4_21.sql +++ b/update/2_4_21.sql @@ -89,5 +89,5 @@ WHERE `mg_prezzi_articoli` AS `prezzi_specifica` WHERE `id_articolo` = `mg_articoli`.`id` -) AND `id_fornitore` IS NOT NULL +) AND `id_fornitore` IN (SELECT `idanagrafica` FROM `an_anagrafiche`) ); \ No newline at end of file