Reputation: 5
I am a beginner programmer. Here are my table structures:
I want to retrieve content and type field from 'post' table where userdId following the 'following' field. I am trying this SQL Join for retrive post of followers.
SELECT userId,following, userId,postId,content,file,type
FROM follow, post
WHERE userId = '5a37589e4ff8b'
Upvotes: 0
Views: 49