Home Forums SQL Server 2005 T-SQL (SS2K5) how to group my results RE: how to group my results
parthenitin
Ten Centuries
Points: 1190
More actions
January 27, 2010 at 5:24 am
#1109220
I have tried this & it works well.....
when firstname,lastname and date are same then
definately it groups the grades and give the avearage result.
select firstname, lastname, date,avg(grades)
from duplicate2
group by firstname, lastname,date