Check out example codes for "types of joins in mysql". It will help you in understanding the concepts better.
Code Example 1
SELECT m.member_id, m.name member, c.committee_id, c.name committee FROM members m INNER JOIN committees c ON c.name = m.name;
Code Example 2
Joins are used with select statement. it is used to select data from multiple table. Types: MySQL INNER JOIN (or simple join) MySQL LEFT OUTER JOIN (or LEFT JOIN) MySQL RIGHT OUTER JOIN (or RIGHT JOIN) Inner JOIN : The INNER JOIN is used to return all rows from multiple tables where the join condition is satisfied. It is the most common type of join. Left Outer Join: The LEFT OUTER JOIN returns all rows from the left hand table specified in the ON condition and only those rows from the other table where the join condition is fulfilled. Right Outer Join: The Right Outer Join returns all rows from the RIGHT-hand table specified in the ON condition and only those rows from the other table where he join condition is fulfilled.
Learn ReactJs, React Native from akashmittal.com