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 many tables can be joined in SQL Server?
How to get nth highest salary from employee table.
explain different types of cursors? : Sql server database administration
How important do you consider cursors or while loops for a transactional database?
What are the steps to follow to configure SQL*Net?
What is primary key index?
How to set a database state to offline in ms sql server?
Please give me queries for the following 1. To get the count of duplicate records. 2. A query to delete the duplicate records.
hi friends please answer this question ASAP:- how to count the no. of employee in a each department or no. of employee in each location by using emp/dept table
Do you know what are the restrictions applicable while creating views? : SQL Server Architecture
What is proper subset of candidate key?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
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)