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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi table connection

Status
Not open for further replies.
You can see the picture
No

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I'm so Sorry.
I am learning english.
I speak good not yet.
I live in Turkey.
 
SELECT 'Table1' Table, UserID, RecDate, Subject FROM Table1
UNION SELECT 'Table2', UserID, RecDate, Subject FROM Table2
UNION SELECT 'Table3', UserID, RecDate, Subject FROM Table3
ORDER BY 2, 1

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Many thanks.
I will try as soon as possible.
" My server is broken :)
 
OOps, replace the order by clause:
ORDER BY 2, 3

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hello,
It is run :)
Thank you again.

One more question,
Which record from which Table?
How to understanding?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top