idab166 目标实现效果 mysql查询a和b字段后进行相加后的值再除以b。 select x/y from (select a+b as x, b as y from table) as t 运行结果为:(6+6)/6=2