what is the date of the earliest contract?
select t2.contract_start_date from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id order by t2.contract_start_date asc limit 1
and which contract id is associated with that contract
select t2.maintenance_contract_id from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id order by t2.contract_start_date asc limit 1
and what is the company name associated with ID 9?
select t1.company_name from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id where t2.maintenance_contract_id = 9