SELECT Name ,SUM(CASE Course WHEN '语文' THEN Score ELSE 0 END) AS [语文] ,SUM(CASE Course WHEN '数学' THEN Score ELSE 0 END) AS [数学] ,SUM(CASE Course WHEN '英语' THEN Score ELSE 0 END) AS [英语]FROM ScoreGROUP BY Name