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

when normalization is required

3 Answers   HCL,


What is difference between stored procedures and application procedures?

0 Answers  


what is outer join? what is selef join? what is difference between them? what is cartecion join?

1 Answers   Fiserv, Herbinger, Synechron,


What is sql query limit?

0 Answers  


Enlist some predefined exceptions?

0 Answers  






can a stored procedure call itself or recursive stored procedure? : Sql dba

0 Answers  


What are sql functions? Describe in brief different types of sql functions?

0 Answers  


How do you write an index?

0 Answers  


Is a secondary key the same as a foreign key?

0 Answers  


Why schema is used in sql?

0 Answers  


what is rollback? : Sql dba

0 Answers  


What is an inconsistent dependency?

0 Answers  


Categories