title: "WHERE" Statement From Another Table
body: <p>I have a table of following/followers that has 3 fields: </p>
  
  <p><code>id , FollowingUserName,FollowedUserName</code></p>
  
  <p>And I have a table with posts:</p>
  
  <pre><code>id,Post,PublishingUsername
  </code></pre>
  
  <p>And I need a query which returns certain fields from post</p>
  
  <p>but the "where" will be where:</p>
  
  <ul>
  <li>The <code>PublishingUsernam</code> From The Posts Will Match The <code>FollowedUserName</code> From The <code>Following/Followers</code> Table</li>
  <li>And The <code>FollowingUserName</code> Will Be The Logged On UserName.</li>
  </ul>