Jump to content

Writing one query that retrieves from different tables?


Fenhopi

Recommended Posts

Hi, I'm trying to write a query that retrieves the comments from one table where "touser=$username" and retrieve statuses from another table where byuser=$username, and I want to sort it all by date posted.

 

How would I go about doing that?

 

I'm used to writing normal single table queries, but retrieving from multiple tables is new to me.

 

Thank you for your help in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.