Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
P
se qualcuno fosse interessato ho risolto così
SELECT blocco, COUNT(*) AS 'totale' FROM ( SELECT blocco_1 AS blocco FROM tabella
UNION ALL
SELECT blocco_2 FROM tabella
SELECT blocco_3 FROM tabella) AS t GROUP BY blocco
Nessuno ha risposto
Grazie ad entrambi