Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql query from 2 tables 1

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Can i select all the rows from one field in one table and from one field in another table into one return field in asc order?
 
If I understand you correctly

select c1 from t1
union
select c2 from t2
order by c1

c1 and c2 must be of comparable types.
 
just what i was looking for!

cheers! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top