Graphical explanation
Table 1:
|a|b|c|d|e|
Table 2:
|a|x|y|z|
I want only a, b, c, d, e, x. I only need column a from table 1, not column a from table 2.
Wordy explanation
I have two tables with one column with a common name. If I use Select * and use the inner join, I get all the returned columns, including two columns with the same name.
I want to select everything from the first table and only one column from the second table. Right now I am setting every column that I need, which is a drag and drop. Is there an easier way to grab everything from the first table and only one column that I want from the second table?
Thanks in advance.
sql join inner-join mysql
Zamicol
source share