title: How to create a DAO for join tables?
body: <p>I'm currently on learning on using <code>Dao</code> pattern in my project. I know, one Table is equivalent to one <code>Dao</code>, am I right? just like <code>StudentDao</code>, <code>SubjectDao</code>. </p>
  
  <p>Each <code>Dao</code> performs <code>CRUD</code> operations in their associated tables, but my question is, how am I going to create a <code>DAO</code> for joined tables? lets say I have a query to join student and subject table, then how do I create a <code>DAO</code>for that? </p>
  
  <p>Should I place it to the <code>StudentDao</code>? or to <code>SubjectDao</code>? or there's a good practice in that kind of situation?</p>