求解一问题

[复制链接]
查看11 | 回复0 | 2007-7-15 15:14:00 | 显示全部楼层 |阅读模式
程序:
selectsum(t.tx) , sum(ch.rx) from
"Event" as eleftjoin "TXPC"as t one.oid =t.the_event

leftjoin"Channel+" as chon e.oid=ch.the_event
group by e.time having sum(t.tx) is not null or sum(ch.rx) is not null
以上程序得到一个表,有两个字段:sum(t.tx)与sum(ch.rx).现在要求求出 [sum(t.tx)>9 andsum(ch.rx).<7的条件的行数]/[表总行数]
求解
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行