For this Question: Find the average effectiveness of each advertising channel in the period from 2017 to 2018 (both included). The efficiency is calculated as the ratio of money spent to total customers acquired. 
Output the advertising channel along with corresponding average effectiveness. 
Sort records by the average effectiveness in ascending order.DataFrame/SQL Table with the following schema -
<schema>[{'name': 'uber_advertising', 'columns': [{'name': 'year', 'type': 'int64'}, {'name': 'advertising_channel', 'type': 'object'}, {'name': 'money_spent', 'type': 'int64'}, {'name': 'customers_acquired', 'type': 'int64'}]}]</schema>Each row in a new line and each value of a row separated by a |, i.e.
0|1|2
1|2|3
2|3|4-, I have written this Solution Code: WITH sums AS
  (SELECT advertising_channel,
          sum(money_spent) AS money_spent,
          sum(customers_acquired) AS customers_acquired
   FROM uber_advertising
   WHERE YEAR BETWEEN 2017 AND 2018
   GROUP BY advertising_channel)
SELECT advertising_channel,
       money_spent / customers_acquired AS avg_effectiveness
FROM sums
ORDER BY avg_effectiveness ASC, In this Programming Language: SQL, Now tell me if this Code is compilable or not?