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 |
Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?
what protocol both networks use? : Sql server database administration
What's new in sql management studio for sql server? : sql server management studio
What is the Disadvantage of indexed sequential file.
What is the optimization being performed in oracle and SQL Server?
What are the advantages of policy management?
What is merge replication?
How to turn on the mssql api module in php?
What is data source view or dsv? : sql server analysis services, ssas
Define tool Manage Statistics in SQL Server 2000 query ?
What is difference between stored procedure and function?
What is model database? : SQL Server Architecture
Oracle (3259)
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)