加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

使用集函数 和 一般查询 的比较

发布时间:2020-12-12 16:17:15 所属栏目:百科 来源:网络整理
导读:两者都能看到 NSA01_DELAY 的count 条数 select uc_txn_id,scenario_status,count(1) cnt from opgcep2.gcal_execution_task where created_at systimestamp - 2/24 group by scenario_status,uc_txn_id having uc_txn_id is null and scenario_status = 'NSA
两者都能看到 NSA01_DELAY 的count 条数 select uc_txn_id,scenario_status,count(1) cnt from opgcep2.gcal_execution_task where created_at > systimestamp - 2/24 group by scenario_status,uc_txn_id having uc_txn_id is null and scenario_status = 'NSA01_DELAY'; select count(1) cnt from opgcep2.gcal_execution_task where created_at > systimestamp - 2/24 and uc_txn_id is null and scenario_status = 'NSA01_DELAY'

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读