in Databases
586 views
3 votes
3 votes
what is different types of joins and what is difference between them ?

please explain with example.
in Databases
586 views

1 Answer

5 votes
5 votes

SQL INNER JOINSQL LEFT JOINSQL RIGHT JOINSQL FULL OUTER JOIN

Conditional Join:

  • condition can be any conditional operator
  • Comparison can be between two columns ot column and constant

Equi Join

  • Only equality condition can be used
  • Comparision between two columns only

Natural Join

  • Equi join where same name column are matched for equlaity

Source: https://www.w3schools.com/sql/sql_join.asp