标题:请问这个是什么意思:select 订单号,sum(单价*数量) as 总金额 from ord ...
取消只看楼主
幸福99
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2022-10-9
 问题点数:0 回复次数:0 
请问这个是什么意思:select 订单号,sum(单价*数量) as 总金额 from order_detail GROUP by 订单号 into CURSO
select 订单号,sum(单价*数量) as 总金额 from order_detail GROUP by 订单号 into CURSOR LS
select Q.客户号,Q.订单号,Q.订购日期,LS.总金额 from order_list Q,LS where Q.订单号=LS.订单号 order by LS.总金额 DESC into table od_new
搜索更多相关主题的帖子: into from select 订单 金额 
2022-10-14 12:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-510309-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014033 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved