库1 gxjob
库2 funshixi
SELECT a.`company_id`,b.`companyname` FROM `gxjob`.`qj_activity_thousands_of_schools` AS a LEFT JOIN `funshixi`.`qj_company` AS b ON a.company_id = b.companyid;