详细解释下列语句的含义

fancydong 2009-10-08 04:49:49
详细解释下列语句的含义,及用法
select * from t_rm_casher_daysum A
WHERE NOT EXISTS(SELECT * FROM t_rm_casher_daysum
WHERE branch_no = A.branch_no AND oper_date = A.oper_date
AND real_amt > A.real_amt )
...全文
56 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
百年树人 2009-10-08
  • 打赏
  • 举报
回复
t_rm_casher_daysum 表中,按branch_no、oper_date分组,取real_amt最大的记录
水族杰纶 2009-10-08
  • 打赏
  • 举报
回复
以branch_no oper_date 分組
取每組中
real_amt 最大的那條紀錄
黄_瓜 2009-10-08
  • 打赏
  • 举报
回复
自己试试,印象最深刻。

34,590

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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