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

Code Example 1

SELECT TableA.*, TableB.*, TableC.*, TableD.*
FROM TableA
    JOIN TableB
        ON TableB.aID = TableA.aID
    JOIN TableC
        ON TableC.cID = TableB.cID
    JOIN TableD
        ON TableD.dID = TableA.dID
WHERE DATE(TableC.date)=date(now())

Learn ReactJs, React Native from akashmittal.com