Non sbagli, UNION infatti rimuove i duplicati, come fosse UNION DISTINCT.
Usa UNION ALL per mantenere anche i duplicati.
Non sbagli, UNION infatti rimuove i duplicati, come fosse UNION DISTINCT.
Usa UNION ALL per mantenere anche i duplicati.
Qualunque imbecille può inventare e imporre tasse. (Maffeo Pantaleoni)