I have three tables:
Table1: COL1 COL2
Table2: COL2 COL3 COL5
Table3: COL3 COL4
And I want to select the COL1 from Table1, COL5 from TABLE2 and COL4 from Table3
It likes two join table, but when I use the following query it doesn't work, COL5 is blank.
SELECT Table1.COL1, Table2.COL5, Table3.COL4
FROM table3
INNER JOIN table2 ON table3.col3 = table2.col3
INNER JOIN table1 ON table1.col2 = table2.col2
Please help.
PS I copied a previous similar example but different output.