Interview Questions   Tutorials   Discussions   Programs   Videos   

SQL - scenario : Inner Join, Left Join, right Join and Outer Join.




464
views
asked sirisha November 22, 2014 08:43 AM  

I have two tables T1 and T2 in my database. T1 has column 'A' with values (1,2,3). T2 has column 'A' with (1,1,2). When we join these two tables, how many number of records will we get as output for inner join, left join(T1 as left table and T2 as right table), Right join and outer join.


           

1 Answers



 
answered By   0  

inner join A B 1 1 2 2

left join

A B 1 1 2 2 3 -

right join A B 1 1 - 1 2 2 full join A B 1 1 2 2 3 - - 2

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

sql × 1

Asked 3 years and 1 month ago ago
Number of Views -464
Number of Answers -1
Last updated
3 years and 22 days ago ago

  Similar questions


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert