adspace


Explain the types of joins in sql?

Answer Posted / Bhupender Prajapati

There are four main types of joins in SQL: INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, and FULL OUTER JOIN. An INNER JOIN returns only the common rows between two tables; a LEFT OUTER JOIN displays all rows from the left table and matching rows from the right table; a RIGHT OUTER JOIN shows all rows from the right table and matching rows from the left table; a FULL OUTER JOIN displays all rows when there is a match in either the left or right table.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2090


what is collation? : Sql dba

1229


define sql insert statement ? : Sql dba

1098


How do I remove duplicates in two columns?

1186


Is inner join faster than left join?

1276


What is the current version of postgresql?

1177


Is primary key clustered index?

1018


Can we rollback truncate?

1074


Do we need to rebuild index after truncate?

1137


What is the current version of sql?

1094


what are all the common sql function? : Sql dba

1131


What is your daily office routine?

2345


how to start mysql server? : Sql dba

1266


how to use regular expression in pattern match conditions? : Sql dba

1113


what is bcp? When does it used? : Sql dba

1055