Report question

Question: SQL Update query with group by clause