The table name comes after the join condition code example
Example 1: sql get all columns from one table but one from another inner join
SELECT myTable.*, otherTable.foo, otherTable.bar...
Example 2: insert to first table if field A equals field B from a second table using sql
UPDATE Table_1 SET Field_X = (SELECT Field_Y FROM Table_2 WHERE Table_1.Field_A=Table_2.Field_B LIMIT 1)