title: SQL query from many to many relation
body: <p>I have many to many relation</p>
  
  <pre><code>  table:  images    
    id  imageName  
     1    pic01
     2    pic02
     3    pic03    
  
    table:  imagesKeywords
    imageId  keywordId
     1        2
     1        3
     1        4
     2        3
     3        1
     3        4
     3        2
  
    table:  keywords
    id  keywordName  
     1    car
     2    tree
     3    cat
     4    phone
  </code></pre>
  
  <p>Each image has some keywords, and different images can have the same keyword.</p>
  
  <p>I need to make a search for images , they have a specific <code>keywordName</code>'s.</p>
  
  <p>example-1:   search for <strong>car</strong> and <strong>phone</strong> </p>
  
  <p>the result should be : <strong>pic03</strong></p>
  
  <p>example-2:    search for <strong>tree</strong> and <strong>phone</strong></p>
  
  <p>the result should be : <strong>pic01</strong>,  <strong>pic03</strong></p>