Check out example codes for "innerjoin sql". It will help you in understanding the concepts better.

Code Example 1

www.w3schools.com

Code Example 2

SELECT column_name(s)

FROM table1

INNER JOIN table2
 ON table1.column_name = table2.column_name;

Learn ReactJs, React Native from akashmittal.com