I am new to SQL and have to create a trigger to update a value from 0 to 1 for all the IDs returned in this query.. Any suggestions?
SELECT c.CustomerID, SUM(