If i have two users one users have many posts in post table i.e
postid, post, userid, time(i.e timestamp)
and I have another table for friends i.e
id, friendid, userid, friend_sinc(i.e timestamp)
Now I want that users friend should see the posts of user1 after the date on which he added the user1 as friend. Not the posts older than the date on he added him as friend. How can I done it in single MySQL query?