那位老大幫忙參考一下這條語句 select sum(zgs) from B T inner join A Y on T.empid=Y.empid and T.fdate = Y.fdate where Y.Gid='9' group by Y.Gid 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select sum(zgs) from B T where empid in (select distinct empid from A where gid='9')group by zgs select sum(zgs) from B T where empid in (select distinct empid from A where gid='9')group by empid select sum(zgs) from a inner join b on a.empid=b.empid and a.fdate=b.fdate and gid=9你看这对吗? select zgs from b inner join a on b.fdate=a.fdate and b.empid=a.empid where a.gid=9如果你想不求和的花如果求和上面的方法都可以亚 关于数据库的事务日志备份?? 怎么在mysql中求方差 问题更新:Select 取表中指定列不重复的总行数 PARSENAME 函数问题 sql语句实现问题,一个表既有创建者和更新者,只有一个用户表,怎么同时把更新者和创建者查出来 如何修改标识字段自增长类型为非自增长 SQLsever启动不了 为什么内存占用这么大 关于varchar 各位同仁,偶遇到大麻烦了。 字段删除不了!??? 查询语句问题,不会写?具体请进来看看!
from B T
where empid in (select distinct empid from A where gid='9')
group by zgs
from B T
where empid in (select distinct empid from A where gid='9')
group by empid
你看这对吗?
如果你想不求和的花
如果求和
上面的方法都可以亚