Check out example codes for "sql inner join sprcific columns". It will help you in understanding the concepts better.
Code Example 1
SELECT
t1.* -- All columns from table1
,
t2.columnName -- Just that column from table2
,
t3.columnName -- And just that column from table3
FROM
table1 AS t1
INNER JOIN table2 as t2
ON t1.id = t2.table1_id
INNER JOIN table3 AS t3
ON t1.id = t3.table1_id
Learn ReactJs, React Native from akashmittal.com