Check out example codes for "How to use multiple join in mysql". It will help you in understanding the concepts better.

Code Example 1

SELECT dashboard_data.headline, dashboard_data.message, dashboard_messages.image_id, images.filename
FROM dashboard_data 
    INNER JOIN dashboard_messages 
        ON dashboard_message_id =
    INNER JOIN images
        ON dashboard_messages.image_id = images.image_id

Code Example 2

SELECT name, id,
    t1.add_date add_date, 
    t2.soc_township township_name1,
    t2.soc_name soc_name, township_name
FROM block t1 
INNER JOIN society t2
    ON (t1.soc_id =
INNER JOIN township t3
    ON (t2.soc_township =

Learn ReactJs, React Native from