问一个SQL语句怎么写 要查询某一类记录在所有记录中的比。select count(*)/所有记录数 from tblwhere mydate<=:mydategroup by kind要怎么写才能正确? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(*) from 表 where 条件1select count(*) from 表两者的相除不就是你的结果吗 同意 angle097113(深思不解) Select (select count(*) from 表 where 条件1)/(select count(*) from 表)from 表 select 类别, 100.0 * count(*) / (select count(*) from t)from tgroup by 类别 请问怎么得到其他进程模块的信息? 初级问题 在FastReport里能否进行选择性打印??? 再提问?---如何在预览时可以看到报表的另一半? 高兴,散分(2) 怎么实现QQ式样的列表框? 用户要求在程序不重新编译的情况下换数据库,从sql server到oracal,可能吗? 何处有Delphi7下载?宽带下完立刻给分! ibtable的方法locate能不能查询某一时期的记录 国家计算机等级考试是程序员考试吗?有程序员考试吗?什么时候?如何报名?有什么要求? 怎么设计一个表啊?(很弱的问题,但我不会,没接触过) 如何复制sqlserver数据库
select count(*) from 表
两者的相除不就是你的结果吗
from 表
类别, 100.0 * count(*) / (select count(*) from t)
from t
group by 类别