what is the difference detween pairwise comparison subquary
and non pairwise comparison subquary?

Answers were Sorted based on User's Feedback



what is the difference detween pairwise comparison subquary and non pairwise comparison subquary?..

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

what is the difference detween pairwise comparison subquary and non pairwise comparison subquary?..

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

Post New Answer

More SQL Server Interview Questions

How do I find the default sql server instance?

0 Answers  


define and explain the differences between clustered and non-clustered indexes.

0 Answers   Microsoft,


How to store pdf file in sql server?

1 Answers   CarrizalSoft Technologies, College School Exams Tests, TATA,


What is logon trigger?

0 Answers  


If we shrink the Databse and Files, how much size is decreased?

1 Answers   TCS,






How can you see what type of locks used?

1 Answers  


What is the difference between referencing and joining?

1 Answers  


Does a specific recovery model need to be used for a replicated database? : sql server replication

0 Answers  


what's the maximum size of a row? : Sql server database administration

0 Answers  


my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

0 Answers  


What is join and name different type of joins?

0 Answers  


Can foreign key be deleted?

0 Answers  


Categories