title: parent-child and child-parent relationships in one query SOQL
body: <p>Is it possible to write a query to access parent-child and child-parent objects, in one SOQL query?
  I have a scenario where, I need to access Account Objects from child and child of Account too, in the same query.
  Example:</p>
  
  <pre><code>Select Id,
  (Select Id,Name, (Select Id, Address from Addresses__r) from x__r.Account),
  x__r.Account.Name
  From x
  </code></pre>
  
  <p>.
  (Pardon me, if I use any wrong terms. I am pretty new to Salesforce)</p>