you have two tables table 1 contains emp id,name and deptno
and tble 2 contains only depatment number some of the
depatment no of 1st table are not present in table 2 how
will you create a report only to get the departments of
which excess in table 1
Answers were Sorted based on User's Feedback
Answer / taruna
The question is 'how to create a report' and not database query!!! We may apply MINUS operator between the two queries in query panel. This will give the difference.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vishal
select a.empid, a.name, a.deptno from table1 a, table2 b where a.deptno != b.deptno
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / rajesh kumar
select empid,name,depno from table1,table2 where
table1.deptno not in table2.deptno
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / amutha
select empid,name,depno from table1,table2 where table1.deptno=table2.deptno(+)
| Is This Answer Correct ? | 3 Yes | 10 No |
What's the Functional & Architectural Differences between Business Objects & Web Intelligence Reports?
how to optimize the query perfomance in b.o?
when you have three fact table and there is no relationship between them. How you will tackle the issue.
what r the universe connection types?
wat is the difference between full clinet report and thin client report?wat is the difference between desktop intelligence and web intelligence?
how to test the reports if there are multiple sql statements?i,e if there is 1 single sql statement we can copy it and paste it in TOAD or someother tools to test it but if we have multiple sql statements in a single query????
tell me about aggregate awareness in detail?
Explain the difference between compatible and incompatible objects?
if we shortcut join between two tables what will be the output?that it will give all columns or same columns?
What are the Users and User groups?
How many universes will run maximum in single project
Instead of cms which server you have to use?