Check out example codes for "how to inner join 4 tables in sql". It will help you in understanding the concepts better.

Code Example 1

# no need to use parentheses - works fine
SELECT * FROM names A
INNER JOIN address B ON A.personID = B.personID
INNER JOIN emailAddress C ON A.personID = C.personID
INNER JOIN phoneNumbers D ON A.personID = D.personID;

Learn ReactJs, React Native from akashmittal.com