Quantcast
Channel: select – w3toppers.com
Viewing all articles
Browse latest Browse all 9

MySQL Select all columns from one table and some from another table

$
0
0

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.


Viewing all articles
Browse latest Browse all 9

Trending Articles