title: selection exect matching record from a transtion table
body: <p>Hello all i have a table which have two columns <code>trial_id</code> , <code>category_id</code></p>
  
  <p>I am attaching the image so that it become more clear.</p>
  
  <p>When I want the records of <code>trial_id</code> which have <code>category_id</code> i can run a query like </p>
  
  <pre><code> SELECT * FROM `trial_category` WHERE category_id IN ( 259, 260 )
  </code></pre>
  
  <p>You can se it give <code>trial_id</code> associate with these two <code>category_id</code></p>
  
  <p>My problem is that now I want the <code>trial_id</code> which have exact match with these two <code>category_id</code> how can i do?</p>
  
  <p>Means if you notic only <code>trial_id</code> 73 have both 259 and 260 <code>category_id</code> then my result should be only 73.</p>
  
  <p>Thanks<img src="https://i.stack.imgur.com/Ls6iF.jpg" alt="enter image description here"> </p>