Inner join in SQL helps combine data from two tables. One can begin writing a query along the lines of select data from a table. The query is then followed by 'inner join' keyword and the second table name whose data needs to be combined with the first table. Then there is an on clause which joins the data between the two tables based on common values between similar fields in the two tables.
In the below example we have a table named 'name'.
No comments:
Post a Comment