Torna al Thread

SELECT id_utente, nome_utente, COUNT(id_modifica) AS numero_modifiche_6_mesi, COUNT(id_modifica) AS numero_modifiche_totali FROM utenti INNER JOIN modifiche ON modifiche.id_utente = utenti.id_utente #WHERE tempo_modifica < 2015-12-31 #AND tempo_modifica > 2015-07-01 GROUP BY nome_utente
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5