SQL joins are used to combine the records from two or more tables in a database. SQL JOIN clause is used to combine the rows from two or more tables, based on a related column between them. SQL is the special-purpose programming language designed for managing information in the relational database management system (RDBMS). The word relational is key; it specifies that the DBMS is organized in such a way that there are clear relations defined between the different sets of data.
Different types of joins are:
SQL Inner Join is used to select all the rows from tables for the match between the columns in tables.
SQL INNER JOIN is based on the concept of EQUI JOINS.
EQUI JOINS are those who use the comparison operator (=) for combining records from two or more tables.
When the condition is satisfied, column values for each matched pair of rows of two tables are combined into a result row.
The shaded part above Shows a common records between both the tables.
#sql #sql joins #sql inner join #programming