Guest User

Untitled

a guest
Jan 12th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. select * from post where userid=?
  2.  
  3. OR userid in
  4. (select sender from users_friends where reciever=?
  5. and friendship_status=?)
  6.  
  7. OR userid in(select reciever
  8. from users_friends where sender=? and friendship_status=?)
Add Comment
Please, Sign In to add comment