codice:select tn.autore,sum(tn.visite) as totale from tabnews as tn inner join tabsezioni as ts on tn.idSezione = ts.id where ts.attiva = 1 group by tn.autore
codice:select tn.autore,sum(tn.visite) as totale from tabnews as tn inner join tabsezioni as ts on tn.idSezione = ts.id where ts.attiva = 1 group by tn.autore