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 |
System variable and temporary variables
Name 3 of the features that the sql server built-in function loginproperty performs on standard logins? : sql server security
Do you know how to store and query spatial data?
Write a sql query to sort on different column name according to the parameters passed in the function?
Explain why variables called the most powerful component of ssis?
How to receive output values from stored procedures?
How to test a dml trigger in ms sql server?
How can you check the level of fragmentation on a table?
What is the difference between migration and upgradation in sql server?
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
what is difference between Enterprise Manager and Query Analyer
How to manipulate data from one table to another table ?