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 |
What are the different methods available under sqlcommand class to access the data?
PC(code, model, speed, ram, hd, cd, price) Find the hard drive sizes that are equal among two or more PCs.
Difference between Triggers and Stored Procedure
23 Answers Claimat, HCL, Protech, Silgate,
Explian different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
is there a column to which a default can't be bound? : Sql server database administration
How to grant a permission in ms sql server using "grant execute" statements?
Difference Between varchar and nvarchar datatype?
How do I partition a table in sql server?
What is the difference between Stored Procedures and triggers?
What is a join in sql?
How can you find out how many rows returned in a cursor?
Where is SQL Srever (In sQL server 2005/2008 where is SQL Server Located).
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)