Skip to main content

Find Monthly Revenue Growth

Hard

You are given the following tables:

orders table:

order_idcustomer_idorder_dateorder_amountdepartment_id
integerintegerdateintegerinteger

departments table:

department_iddepartment_name
integerstring

customers table:

customer_idfirst_namelast_name
integerstringstring

Find the department with the highest month-on-month increase (order amount) in December 2022. Your output should have the following columns: department_id, department_name, mom_increase