由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Problem with this T-SQL statement
相关主题
please help me solve a problem.请教:如何优化,提取组间最大行
How to query a tree问个sql的问题吧,搞不出来了. (转载)
ADO & DAO &SQL...Help...SQL求助
问个SQL的问题a problem, thank you
SQL问题请教A SQL problem
SQL question求助:sql server 2000, 这句话怎么写?
想练习SQL, 求建议mysql索引/优化的一个问题
服了,这就是我们QA和DBA的水平问个查询的问题
相关话题的讨论汇总
话题: price话题: select话题: sql话题: where话题: problem
进入Database版参与讨论
1 (共1页)
w*********p
发帖数: 7230
1
I have 2 tables A and B in SQL Server
A: B:
price product price product
1 A 1 B
2 C 3 D
select * from a where price < all (select price from b where price > 10)
select * from a where price = all (select price from b where price > 10)
select * from a where price > all (select price from b where price > 10)
all give out 2 records in a
if i change "all" to "any", it will not return nothing at all.
could anyone ex
1 (共1页)
进入Database版参与讨论
相关主题
问个查询的问题SQL问题请教
MySQL全文搜索的问题SQL question
why this full-text search doenst work properly?想练习SQL, 求建议
Remove duplicate from oracle table服了,这就是我们QA和DBA的水平
please help me solve a problem.请教:如何优化,提取组间最大行
How to query a tree问个sql的问题吧,搞不出来了. (转载)
ADO & DAO &SQL...Help...SQL求助
问个SQL的问题a problem, thank you
相关话题的讨论汇总
话题: price话题: select话题: sql话题: where话题: problem