Select a.*,c.temperature_alarm_gradient From ugp_check_node as a
Inner Join ugp_converge_node as b On a.id=b.id
Inner Join ugp_converge_node_config as c On a.id=c.id
个人觉得,b里面应该是没有id的,应该是b里面有个列与a相关另一个列与c相关,a与c没关系,这样才会出现3表关联的需求,不然又不查b 那么这个查询跟b就没什么关系了
select a.*,c.temperature_alarm_gradient from a,b,c
where a.id=b.id and a.id=c.id