07-19-2009, 06:25 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: May 2009
Posts: 178
Thanks: 9
|
Mysql Query to return 2 columns as 1
I am looking to return 2 columns from 2 different tables as 1 column - is this possible?
eh.
Table1
ID DATA1
10 blahblah
15 blahblah
Table2
ID DATA2
20 blahblah
Say I want to write a query that will return 10,15,20 how would I do this assuming ID is declared the same on both tables?
|
|
|
|