Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

i want to retrive data from cube,in my cube have lakhs of data but i want to retrive 10 rows only , for 10 rows i have unique id , how to pass the unique ids and retrive the particular 10 persons data only
like how sql server using in operator, same as in cube can u guide me or send snippets
Posted
Updated 20-Sep-14 0:53am
v2

1 solution

We want to see those employees who are working in Hyderabad. Remember emp and dept are joined on deptno and city column is in the dept table. Assuming that wherever the department is located the employee is working in that city.

SQL
Select * from emp where deptno in (select deptno from dept where city='HYD');


Please read more here : http://www.oracle-dba-online.com/sql/group_by_sub_queries.htm[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900