getting columns from one table that have been used in another table code example
Example: sql select all from one table and one column from another
SELECT myTable.*, otherTable.foo, otherTable.bar...
SELECT myTable.*, otherTable.foo, otherTable.bar...