What is Equi JOIN in SQL?

An equi join is a type of join operation in SQL that combines rows from two or more tables based on a related column between them. The term "equi" is derived from the word "equal," indicating that the join operation is performed based on equality between values in the specified columns. In other words, an equi join returns rows where the values in the specified columns are equal.

The basic syntax for an equi join is as follows:

SELECT * FROM table1 JOIN table2 ON table1.column_name = table2.column_name;

Here, table1 and table2 are the names of the tables being joined, and column_name is the column that is common to both tables and used as the basis for the join.