what is the difference detween pairwise comparison subquary
and non pairwise comparison subquary?
Answers were Sorted based on User's Feedback
Answer / parnita
In pair wise comparison we write like this:"where (MGR_ID,
DEPT_ID) IN (SUBQUERY)"IN non pair wise comparison we write
like this:"where (MGR_ID) IN (SUBQUERY)and (DEPT_ID) IN
(SUBQUERY)"In first one we are checking two columns
simultaneously ...
Is This Answer Correct ? | 20 Yes | 3 No |
Answer / taroon
See the thing is in pairwise comparison, we are taking the
columns which are of composite key type, so that the
comparisons will be very effective. But nonpairwise
comparisons are like multi_row subqueries with IN operator,
where we are checking single column values.
But the results will be different in both the cases. Just
try. If you want some examples regarding that, just do let
me know.
Is This Answer Correct ? | 2 Yes | 5 No |
how to find the second salary?
Explain the difference between cross join and full outer join?
What is the use of @@spid?
How do you delete a trigger?
Can I run multiple instances of sql server 2000 at the same time on one computer?
What does man by sql wildcard characters in sql server?
What is ms sql server triggers?
How to execute stored procedure in select statement sql server?
What is the difference between an index and a unique index?
What is database replication? What are the different types of replication you can set up in sql server?
wat wil hapn if we give the both read and deny read permission to user?
How do you know which index a table is using?