title: How do i write the django query filter when multiple joins are involved in Django?
body: <p>I would like to translate the below SQL query for the schema shown in the snapshot into Django. How do I accomplish this?</p>
  <pre><code>select * from purchase
  inner join customer on customer.id = purchase.customer_id
  inner join seller on seller.id = purchase.seller_id
  inner join manager on seller.id = manager.seller_id
  </code></pre>
  <p><a href="https://i.stack.imgur.com/1PQod.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1PQod.png" alt="enter image description here" /></a></p>