I have multiple lines of data all sharing the same Company id.
Is there a way to \'sum\' all the amounts to give me one line of data per company id using SQL Server
SELECT Company_Name, Company_ID, SUM(Amount) FROM TableName GROUP BY Company_Name, Company_ID
SELECT Company_Name, Company_ID, sum(Amount) FROM table group by Company_Name, Company_ID