日期:2014-05-18 浏览次数:20452 次
select a.bzh as 保障号,a.ztw as 状态,a.czlb as 财政类别, b.nd as 年代,b.GZLJ1 as 缴费表上半年,c.JFGZ1+c.JFGZ2+c.JFGZ3+c.JFGZ4+c.JFGZ5+c.JFGZ6 as 详细上半年 from grjbb as a,grjfb as b,jfmxb as c where a.bzh=b.bzh and a.bzh=c.bzh and a.czlb=2 and b.nd=c.nd and b.GZLJ1<>c.JFGZ1+c.JFGZ2+c.JFGZ3+c.JFGZ4+c.JFGZ5+c.JFGZ6