求助:这想法怎么实现 select count(*) from 表1,表2 where 表1.字段2/ 表2.字段4 and 表1.字段1= 表2.字段3 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 --这个意思?select count(*) from 表2 bwhere exists(select * from 表1 where 字段1=b.字段3 and a.字段4*1./字段2>1.5) select count(*) 字段,数目from 表1,表2 where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5; 楼上的这为前辈,您上面的 字母 "a","b"是说的表1和表2吗?还有"a.字段4*1./"中的"1."是什么意思,谢谢了 select count(*) 字段,数目from 表1,表2 where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5;可以是吗?谢谢select count(*) as nfrom 表1,表2 where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5; 无分了,但是不懂还是要问。用户 'LXY-09B04935001\ASPNET' 登录失败。 如何把excel导入到数据库中! SQL 统计 怎么能将foxpro2.5中的数据导入到sqlserver2000中 按日期查询中 为什么我查询5月11号 到14号 它就显示13号到14号的内容 急急急 求助!这个SQL怎么写 应怎么优化这句话句? 做一个独立的弹出式窗口 请问各位大虾SQL Server2000 DTS导数据的原理是什么? 懂触发器进来 关于数据查询时的"超时已过期"的问题 关于两个查询结果合并的问题。请高手指点。
where exists(select * from 表1 where 字段1=b.字段3 and a.字段4*1./字段2>1.5)
from 表1,表2
where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5;
from 表1,表2
where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5;
可以是吗?谢谢
select count(*) as n
from 表1,表2
where 表1.字段1=表2.字段3 and 表2.字段4/表1.字段2>1.5;