求一sql语句 aa表 用户表id intname varcharinte decimal 总金额bb表money decimal 金额(只有一个值)求查询会员总金额大于bb表金额的用户的信息,和人数 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 -- 加个top 1 安全点select * from aa where inte>(select top 1 [money] from bb) 用户信息select * from aa where inte>(select top 1 [money] from bb)人数select count(*) from aa where inte>(select top 1 [money] from bb) 为何含义相当的两段语句执行结果不一样?(from 语句) 表设计的问题 sql2005如何指定字段的格式,如ID字段以20110425001格式自增长 求助,这个sql如何写?(在线) 一个存储过程能返回多个记录集吗 help ! 这个统计应该怎么写 ??? 求SQL语句,疑难! 数据更新 如何把sql server 数据库的image字段保存为图形文件? 如果在空间上安装SQL程序? sql6.5的查询问题 SQL语句问题,求助! 关于sp_executesql的问题
select * from aa where inte>(select top 1 [money] from bb)
人数
select count(*) from aa where inte>(select top 1 [money] from bb)