公司开发数据分析模块,此为多选题的, 多重相应二分法
1. 求有效N SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘) or IFNULL(a,N‘‘) 2. 求总数 SELECT COUNT(1) FROM aa 3. 求缺失 2 - 1 = 缺失 4. 响应 SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的;/响应变量之和 SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的; SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的; 5. 个案 SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的;/有效的和(就是1) SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的; SELECT COUNT(1) FROM aa where IFNULL(b,N‘‘)=传的;