jadhavrajesh
Programmer
Hi,
I have a table that looks like,
RULE_ID ATT
---------- ----------
1 test1
2 test1
1 test1
2 test2
3 test2
Is it possible to write a query like,
select ATT from table
where RULE_ID "matches all" ( 1,2,3)
Here if I query with 1,2,3 my expected output is test1, and if I query with 1,2 my expected output is test2.
Because the query "array" matched all the possible RULE_IDs for that ATT.
Thanks in advance,
Rajesh
I have a table that looks like,
RULE_ID ATT
---------- ----------
1 test1
2 test1
1 test1
2 test2
3 test2
Is it possible to write a query like,
select ATT from table
where RULE_ID "matches all" ( 1,2,3)
Here if I query with 1,2,3 my expected output is test1, and if I query with 1,2 my expected output is test2.
Because the query "array" matched all the possible RULE_IDs for that ATT.
Thanks in advance,
Rajesh