select from table and use results in inner join code example
Example: sql get all columns from one table but one from another inner join
SELECT myTable.*, otherTable.foo, otherTable.bar...
SELECT myTable.*, otherTable.foo, otherTable.bar...