Some tables mixed together
Posted
by DJPython
on Stack Overflow
See other posts from Stack Overflow
or by DJPython
Published on 2010-01-13T16:09:19Z
Indexed on
2010/04/20
19:03 UTC
Read the original article
Hit count: 126
Hello.
I have 2 different tables in my database. They have some variables common and some different. For example:
Table1:
- ID
- Date
- Name
- Address
- Fax
Table2:
- ID
- Date
- Name
- Telephone number
I want to display data together sorted by date & ID but from both tables. For example, first displayed will be the newest record from first table, but the second one will be the record from another table posted right after first one.
Hope everybody understand, sorry for my English.
Cheers.
© Stack Overflow or respective owner