由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - How to write the query
相关主题
问个RAC的问题[转载] Can anyone interpret this simple SQL?
parameterized queries with no inputs请教一个query
Data Mining and OLAPA sql question
关于Acess的简单问题how to make query faster?
一个SQL query的问题query estimation shows cost 900%?
Question 2: distributed database question?oracle JDBC thin vs. JDBC OCI
Help!!! constraint in inputting data再问个excel问题吧
[转载] question about SQL in Access急,SQL2005, 怎么查过去一小时里run过的所有query?
相关话题的讨论汇总
话题: node话题: id1话题: query话题: node1话题: node2
进入Database版参与讨论
1 (共1页)
c**t
发帖数: 2744
1
Oracle (10g), table A (id, Node, ...), where id, Node combination is unique.
How to query if Node1, Node2, ... with id1 exists where Node1,Node2.., id1
are parameters (inputs)?
c**t
发帖数: 2744
2
select ID, Node
from
(
select id1 as ID, Node1 as Node from dual
union
select id1, Node2 from dual
..
)
minus
select id, Node from A where id=id1
??

unique.

【在 c**t 的大作中提到】
: Oracle (10g), table A (id, Node, ...), where id, Node combination is unique.
: How to query if Node1, Node2, ... with id1 exists where Node1,Node2.., id1
: are parameters (inputs)?

1 (共1页)
进入Database版参与讨论
相关主题
急,SQL2005, 怎么查过去一小时里run过的所有query?一个SQL query的问题
Late afternoon 腦不好使Question 2: distributed database question?
请教一个mssql的问题Help!!! constraint in inputting data
Re: Recordset - I stuck! Help![转载] question about SQL in Access
问个RAC的问题[转载] Can anyone interpret this simple SQL?
parameterized queries with no inputs请教一个query
Data Mining and OLAPA sql question
关于Acess的简单问题how to make query faster?
相关话题的讨论汇总
话题: node话题: id1话题: query话题: node1话题: node2