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