Description
Table: datacenters
+------------------+---------+ | Column Name | Type | +------------------+---------+ | datacenter_id | integer | | name | varchar | | monthly_capacity | integer | +------------------+---------+
datacenter_idis the primary key. Each row represents a datacenter and its maximum monthly server capacity.
Table: forecasted_demand
+-------------------+---------+ | Column Name | Type | +-------------------+---------+ | datacenter_id | integer | | month | integer | | forecasted_demand | integer | +-------------------+---------+
(datacenter_id, month)is the primary key. Each row represents the forecasted demand for a datacenter in a given month.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
-
Output
-
Expected
-