Jump to content

Retrieve Data from Multiple Tables at Once


yarub

Recommended Posts

First off, I'm not trying to "join" the tables like every single website is trying to tell me to do. And if I am.. it's not working. I am trying to take two different types of "post" style tables and put them into one readers column and have them sort by date. For instance..

 

Table 1

Post IDPost TitlePost ContentPost Date

1Title 1Content 120111018

2Title 2Content 220111019

3Title 3Content 320111020

 

Table 2

Post IDPost TitlePost ContentPost Date

1Blog 1Context 120111015

2Blog 2Context 220111018

3Blog 3Context 320111020

 

How can I query those in the manner that they would display something like..

 

1, Blog 1, Context 1, 20111015

1, Title 1, Content 1, 20111018

2, Blog 2, Context 2, 20111018

2, Title 2, Content 2, 20111019

3, Title 3, Content 3, 20111020

3, Blog 3, Context 3, 20111020

 

Note that it's sorted by date. When joining tables, it wants me to compare the two tables. I don't want to do that.

 

If someone can help me, I'd greatly appreciate it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.