Define Equi join.

 

Answer:

Equi Join is a simple SQL join which uses the equal sign as the comparison operator.

It combines tables by matching values in specified columns.

Syntax:

SELECT column_list

FROM table1, table2....

WHERE table1.column_name = table2.column_name

OR

SELECT column_list

FROM table1  

JOIN table2

[ON ( join_condition ) ]

 

Example:

Question 2 - image.jpg

Question 2 - image 2.jpg

Question 2 - image 3.jpg

Additional points:

  • The column names of columns specified for joining need not be the same.
  • The resultant table will contain repeated columns.
  • Equi Join can be performed on more than 2 tables.
Remove Ads
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.