Task: Text to Code
Input (English): Step 1: For each row in Manufacturers table, find the corresponding rows in Products table.
Step 2: find each value of Manufacturer in the results of step 1 along with the summation of Revenue of the corresponding rows to each value
Output (English): SELECT Sum ( T1.Revenue ) , T2.Manufacturer FROM Manufacturers AS T1 JOIN Products AS T2 ON T1.Code = T2.Manufacturer GROUP BY T2.Manufacturer