----------------------------------------------------------------------------------- select a1.id,a1.name,a1.sort,a1.type,a3.value - (a1.nums/a2.nums)*100 as nums,a3.value,a1.nums,a2.nums,a1.packageNum from ( select swr.id,swr.name,swr.sort,srscm.area…