sql語句合並

guoluguolu 2006-03-13 11:28:49
1__alter table T_StoreJIT add Userquantity as (Quantity-IP+onloadquantity)
2__select MaterielCode ,max(Attribute) as Attribute, sum(Quantity) as Quantity
,max(IP) as IP,max(WP) as WP,max(OnloadQuantity) as onloadquantity ,CreationTime
from T_StoreJIT group by MaterielCode ,CreationTime order by CreationTime desc
----怎樣把語句1,2兩條SQL語句合並乘一條sql語句
----2中間還有很多字段我沒寫出來了
-------謝謝了!!
...全文
143 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,979

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 其他语言讨论
社区管理员
  • 其他语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧