SELECT table1.column1, table2.column2... FROM table1 INNER JOIN table2 ON table1.common_field = table2.common_field;
Here is the template I found online for INNER JOIN ON.
Here is what I have understand so far.
There are two tables with data. We need data from both.
SELECT is used to display FROM is from what table do we wish to SELECT(display) INNER JOIN creates a new result table by combining column values of table 1 and 2
This is as far as I've understood. I'm struggling with ON table1.common_field = table2.common_field;
Especially the word "ON" is really not making any sense to me.
If someone could kindly explain this to me I'd be most thankfull