
sql统计用户量
sql统计用户量表里有用户名和时间,我要统计没一个月里有多少个用户,该怎么写sql呢?必须查询12次吗?求指教感激不尽!!!!...
sql统计用户量表里有用户名和时间,我要统计没一个月里有多少个用户,该怎么写sql呢?必须查询12次吗?求指教感激不尽!!!!
展开
1个回答
展开全部
sql当然可以,你把数据表发给我,我可以给你写一下,我是按照oracle写的
select count(distinct *)
from t
where (case
when (受理日期 != '' and 受理日期 is not null and 受理日期 = 7) then 0
when (门店 != '' and 门店 is not null and 门店 = 东方) then 0
when (类型 != '' and 类型 is not null and 类型 = 工业) then 0
when (受理人 != '' and 受理人 is not null and 受理人 like '%营业员%') then 0
else 1 end) = 0
select count(distinct *)
from t
where (case
when (受理日期 != '' and 受理日期 is not null and 受理日期 = 7) then 0
when (门店 != '' and 门店 is not null and 门店 = 东方) then 0
when (类型 != '' and 类型 is not null and 类型 = 工业) then 0
when (受理人 != '' and 受理人 is not null and 受理人 like '%营业员%') then 0
else 1 end) = 0

2024-11-30 广告
RNA-seq数据分析是转录组研究的核心,包括数据预处理、序列比对、定量分析、差异表达分析、功能注释和可视化等步骤。数据预处理主要是质量控制和去除低质量序列。序列比对使用HISAT2、STAR等工具将reads比对到参考基因组。定量分析评估...
点击进入详情页
本回答由迈杰提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |