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



I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p ..

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

I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p ..

Answer / mandayan

not pasible to help u becouse u have to give with data ok

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What is the use of cursor ? how cursor allocate context area for executing the sql statement?

4 Answers   HCL,


What is pl sql quora?

0 Answers  


What is the difference between microsoft access and sql server?

0 Answers  


how to insert the data through views? The view is depending upon more than two tables? how to update materalized views?

3 Answers   3i Infotech,


Where is sql database stored?

0 Answers  






What is the purpose of a secondary key?

0 Answers  


What is rank () in sql?

0 Answers  


Can we group by two columns in sql?

0 Answers  


How is Oracle 10g helpful when compared to oracle 9i and what is grid computing

1 Answers   Flextronics,


What is anonymous block in sql?

0 Answers  


What is #table in sql?

0 Answers  


what is mean by forward declaration and where we'll use it.

4 Answers   TCS,


Categories