Both queries work separately, but I need them in a single table. Im trying to save all posts by the users followers + their own posts in a single table
table following(ID, User, FollowingUser) -> saves which user follows another user
Query 1- Selects all of the posts from the current user's followers
SELECT DISTINCT PostID, posts.UserID, FollowingUser, Name, Date, Post
FROM following, users, posts
WHERE (User=1 AND users.UserID=FollowingUser AND posts.UserID=FollowingUser)
Query 2- Selects all of posts made by the current user
SELECT DISTINCT PostID, posts.UserID, null, Name, Date, PostID
FROM users, posts
WHERE UserID=1