i have 2 table like these :
i need select this table to show message with their latest status :
Thanku for your suggestions
Code:
table 1 : id msg_id status 1 1 pending 2 1 ok 3 2 pending 4 2 sending table 2 : id msg_id text 1 1 xxx 2 2 yyy
Code:
msg_id text status 1 xxx ok 2 xxx sending
Comment