Task: Text to Code
Input (English): find the average active_to_date in Customer_Contact_Channels table
Output (English): SELECT Avg ( active_to_date ) FROM Customer_Contact_Channels