I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p
if we perform equijoin,outer join,right outer join,left outer join,full outer join,cross join seperately
Can anyone help on this?
Answers were Sorted based on User's Feedback
Answer / ankit sinha
equijoin will produce only the common record.
A right outerjoin B will produce all common records with
remaining records from B . The point to be noticed here is A
is right outerjoined to B which means common records from A
as well as remaining records from B
Opposite things happen with A left outerjoin B
Full outer join means common records and remaining records
from both the tables
crossjoin means multiplications
suppose A has 4 records and B has 4 records.
Total output will have 16 records.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / mandayan
not pasible to help u becouse u have to give with data ok
| Is This Answer Correct ? | 1 Yes | 1 No |
What are the types of subqueries?
What is exit statement?
What are commit, rollback, and savepoint?
Regarding joins what are the differences you observed in oracle 9i and sql server?
How do you optimize a query?
What is a file delimiter?
How did you export data from database to excel file.
What are the basic techniques of indexing?
How can you load multi line records? : aql loader
What is benefit of creating memory optimized table?
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
what is Difference between Having and Where clause?
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)