zoukankan
html css js c++ java
将一个表中的一个字段求和后,与另一个表的记录相关联
Select
a.
*
,
isnull
(b.实收数量,
0
)
as
实收数量
from
A1 a
left
join
(
select
物料编码,
sum
(实收数量)
as
实收数量
from
A2
group
by
物料编码 ) b
on
a.物料编码
=
b.物料编码
where
a.采购订单
=
'
001
'
数据库下载:
https://files.cnblogs.com/sik/Test.rar
查看全文
相关阅读:
如何在android项目中引用project作为类库引用
Unity3d之MonoBehaviour的可重写函数整理
Phonegap hello world 不容易啊~!
数据结构,到底如何用中学,学中用?
自动化测试(1610)
软件测试人员的发展路线
软件测试分类
我的第一篇博客随笔
安装虚拟机和Linux系统的学习
英雄联盟的游戏经验
原文地址:https://www.cnblogs.com/aipeli/p/220196.html
最新文章
Codeforces 975E Hag's Khashba 【口头AC】【计算几何】
Codeforces 975D Ghosts 【math】
Codeforces 963C Cutting Rectangle【口头AC】
Codeforces 963B Destruction of a Tree 【贪心】
二分搜索
dp
日起计算2
POJ
字符串
大数相乘 a*b
热门文章
轻院校赛
欧拉函数
欧拉回路
日期计算
Linux 常用命令
一个socket发送调试信息的类
FLASH AS 不显示中文
“Unable to execute dex: Multiple dex files”如何解决?
pthreads 0.1.0 测试报告
大过年的,不下班的,上个Android文件操作类(内部存储和sd卡均可)
Copyright © 2011-2022 走看看