MySQL Forums
Forum List  »  Quality Assurance

use single query statement to get data from 2 tables
Posted by: vikki saggu
Date: October 03, 2012 05:41AM

Table_Users
id username
1 Jack
2 Marine
3 Katie
4 Hennry

Table_Messages
id to_id from_id Messages
1 2 3 Hello
2 3 2 Hi


Need a single query which can return a Message, To Name and From Name

Options: ReplyQuote


Subject
Views
Written By
Posted
use single query statement to get data from 2 tables
1524
October 03, 2012 05:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.