How do you select all the columns from one table and just some columns from another table using JOIN? In MySQL.
Just use the table name:
SELECT myTable.*, otherTable.foo, otherTable.bar...
That would select all columns from myTable and columns foo and bar from otherTable.
myTable
foo
bar
otherTable
1.4m articles
1.4m replys
5 comments
57.0k users