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