搜索
编程论坛
→
数据库技术
→
『 SQL Server论坛 』
→ 这个查询怎么写?
标题:
这个查询怎么写?
只看楼主
ysen1984
等 级:
新手上路
帖 子:2
专家分:0
注 册:2005-12-13
楼主
问题点数:0 回复次数:1
这个查询怎么写?
假设有一个student表里有2个字段分别是 sname和score 求分数相同的的所有信息。
搜索更多相关主题的帖子:
查询
2005-12-27 22:42
mingc_mis
等 级:
新手上路
帖 子:58
专家分:0
注 册:2005-3-5
第
2
楼
得分:0
select sname ,score from student where score
in (select count(sname) from student where count(sname)>1 group by score )
Bolg:http://lovesky. MSN:mingc_mis@ 好好學習,天天向上
2005-12-28 12:28
2
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-40324-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.763533 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved